comparison tests/test-namespaces-report.t @ 6497:4e0f760d332e

topic: also find and report topic namespace changes caused by bookmarks
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 05 Jun 2023 21:57:37 -0300
parents fba501baf5cb
children 7ecb0f9cc7f3
comparison
equal deleted inserted replaced
6496:fba501baf5cb 6497:4e0f760d332e
123 topic namespaces affected: carol 123 topic namespaces affected: carol
124 [1] 124 [1]
125 125
126 $ cd .. 126 $ cd ..
127 127
128 5 bookmark movement that affect tns (like putting a bookmark on obsolete changesets)
129 their topic namespaces reappear and are therefore reported
130
131 $ hg clone orig case-5 -q
132 $ cd orig
133
134 $ hg debug-topic-namespace dana
135 $ echo durian > d
136 $ hg ci -qAm 'durian'
137
138 XXX: should not require --new-branch
139
140 $ hg push ../case-5 --new-branch
141 pushing to ../case-5
142 searching for changes
143 adding changesets
144 adding manifests
145 adding file changes
146 topic namespaces affected: dana
147 added 1 changesets with 1 changes to 1 files
148
149 $ hg debug-topic-namespace dave
150 $ echo dragonfruit > d
151 $ hg ci --amend -m 'dragonfruit'
152
153 XXX: should not require --new-branch
154
155 $ hg push ../case-5 --new-branch
156 pushing to ../case-5
157 searching for changes
158 adding changesets
159 adding manifests
160 adding file changes
161 topic namespaces affected: dana dave
162 added 1 changesets with 1 changes to 1 files (+1 heads)
163 1 new obsolescence markers
164 obsoleted 1 changesets
165
166 $ hg bookmark --hidden -r 'desc("durian")' @
167 bookmarking hidden changeset ac97707e6b4a
168 (hidden revision 'ac97707e6b4a' was rewritten as: 822ac0064503)
169
170 $ hg push ../case-5 -B @
171 pushing to ../case-5
172 searching for changes
173 no changes found
174 topic namespaces affected: dana
175 exporting bookmark @
176 [1]
177
128 $ cd .. 178 $ cd ..
129 179
130 6 phase movement: publishing secret changesets (that are known on the server) 180 6 phase movement: publishing secret changesets (that are known on the server)
131 topic namespaces of published changesets are affected 181 topic namespaces of published changesets are affected
132 182