Mercurial > evolve
diff tests/test-topic.t @ 4647:228caeb8b7af
topic: add a simple option to reject publishing
The option is pretty basic but it can be used as base to build larger feature.
The main target for going in this direction is to be able to distinct between
user that are "simple contributors" pushing topic for review and the
"maintainers" or "automation" that can publish changesets.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 27 May 2019 03:42:35 +0200 |
parents | 5f1d0cff514d |
children | 493470e7a0f2 |
line wrap: on
line diff
--- a/tests/test-topic.t Tue Jun 04 10:07:08 2019 +0200 +++ b/tests/test-topic.t Mon May 27 03:42:35 2019 +0200 @@ -115,6 +115,10 @@ used, the pushed revisions are published if the push succeeds. It also applies to common revisions selected by the push. + One can prevent any publishing to happens in a repository using + + [experimental] topic.allow-publish = no + list of commands: stack list all changesets in a topic and other information