Mercurial > evolve
comparison tests/test-topic.t @ 6642:196babdbb593
topic: we no longer add --publish to push command, it's just there
Also copywrite the rest of the section.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 06 Jan 2024 17:08:01 -0300 |
parents | 1dc008b6ad21 |
children | 2fbe91d762ef |
comparison
equal
deleted
inserted
replaced
6641:995c6163e97b | 6642:196babdbb593 |
---|---|
83 enforce-single-head = yes | 83 enforce-single-head = yes |
84 | 84 |
85 Publishing behavior | 85 Publishing behavior |
86 =================== | 86 =================== |
87 | 87 |
88 Topic vanish when changeset move to the public phases. Moving to the public | 88 Topics vanish when changesets move to the public phase. Moving to the public |
89 phase usually happens on push, but it is possible to update that behavior. The | 89 phase usually happens on push, but it is possible to modify this behavior. The |
90 server needs to have specific config for this. | 90 server needs to have specific config for this. |
91 | 91 |
92 * everything pushed become public (the default): | 92 * everything pushed becomes public (the default): |
93 | 93 |
94 [phases] | 94 [phases] |
95 publish = yes | 95 publish = yes |
96 | 96 |
97 * nothing push turned public: | 97 * nothing pushed turns public: |
98 | 98 |
99 [phases] | 99 [phases] |
100 publish = no | 100 publish = no |
101 | 101 |
102 * topic branches are not published, changeset without topic are: | 102 * topic branches are not published, changesets without topic are: |
103 | 103 |
104 [phases] | 104 [phases] |
105 publish = no | 105 publish = no |
106 [experimental] | 106 [experimental] |
107 topic.publish-bare-branch = yes | 107 topic.publish-bare-branch = yes |
108 | 108 |
109 In addition, the topic extension adds a "--publish" flag on 'hg push'. When | 109 In addition, 'hg push' command has a "--publish" flag. When used, the pushed |
110 used, the pushed revisions are published if the push succeeds. It also applies | 110 revisions are published if the push succeeds. It also applies to common |
111 to common revisions selected by the push. | 111 revisions selected by the push. |
112 | 112 |
113 One can prevent any publishing to happens in a repository using: | 113 One can prevent any publishing from happening in a repository using: |
114 | 114 |
115 [experimental] | 115 [experimental] |
116 topic.allow-publish = no | 116 topic.allow-publish = no |
117 | 117 |
118 Server side visibility | 118 Server side visibility |