Mercurial > evolve
comparison 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 |
comparison
equal
deleted
inserted
replaced
4646:7b986968700b | 4647:228caeb8b7af |
---|---|
112 topic.publish-bare-branch = yes | 112 topic.publish-bare-branch = yes |
113 | 113 |
114 In addition, the topic extension adds a "--publish" flag on 'hg push'. When | 114 In addition, the topic extension adds a "--publish" flag on 'hg push'. When |
115 used, the pushed revisions are published if the push succeeds. It also applies | 115 used, the pushed revisions are published if the push succeeds. It also applies |
116 to common revisions selected by the push. | 116 to common revisions selected by the push. |
117 | |
118 One can prevent any publishing to happens in a repository using | |
119 | |
120 [experimental] topic.allow-publish = no | |
117 | 121 |
118 list of commands: | 122 list of commands: |
119 | 123 |
120 stack list all changesets in a topic and other information | 124 stack list all changesets in a topic and other information |
121 topics View current topic, set current topic, change topic for a set | 125 topics View current topic, set current topic, change topic for a set |