comparison tests/test-topic-change.t @ 3936:537fd9a86c06 mercurial-4.3

test-compat: merge mercurial-4.4 into mercurial-4.3
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 03 Aug 2018 00:22:50 +0200
parents 98941c28f3e2 d00f0c369bc7
children
comparison
equal deleted inserted replaced
3935:9af0e2b0bdd7 3936:537fd9a86c06
179 | 179 |
180 o 8:86a186070af2 {foo} 180 o 8:86a186070af2 {foo}
181 Added a () 181 Added a ()
182 182
183 $ hg rebase -s 11 -d 22 183 $ hg rebase -s 11 -d 22
184 rebasing 11:1315a3808ed0 "Added d" (foo) 184 rebasing 11:1315a3808ed0 "Added d"
185 switching to topic foo 185 switching to topic foo
186 rebasing 16:edc4a6b9ea60 "Added e" (bar) 186 rebasing 16:edc4a6b9ea60 "Added e"
187 switching to topic bar 187 switching to topic bar
188 rebasing 17:82e0b14f4d9e "Added f" (bar) 188 rebasing 17:82e0b14f4d9e "Added f"
189 rebasing 18:e7b418d79a05 "Added g" (bar) 189 rebasing 18:e7b418d79a05 "Added g"
190 rebasing 20:c2d6b7df5dcf "Added h" (foobar) 190 rebasing 20:c2d6b7df5dcf "Added h"
191 switching to topic foobar 191 switching to topic foobar
192 192
193 $ hg glog 193 $ hg glog
194 @ 27:a1a9465da59b {foobar} 194 @ 27:a1a9465da59b {foobar}
195 | Added h () 195 | Added h ()
223 $ hg topic wat 223 $ hg topic wat
224 $ hg ci --amend 224 $ hg ci --amend
225 active topic 'wat' grew its first changeset 225 active topic 'wat' grew its first changeset
226 (see 'hg help topics' for more information) 226 (see 'hg help topics' for more information)
227 $ hg glog -r . 227 $ hg glog -r .
228 @ 28:61470c956807 {wat} 228 @ 29:61470c956807 {wat}
229 | Added h () 229 | Added h ()
230 | 230 |
231 231
232 Clear the current topic and amending 232 Clear the current topic and amending
233 233
234 $ hg topic --clear 234 $ hg topic --clear
235 $ hg ci --amend 235 $ hg ci --amend
236 $ hg glog -r . 236 $ hg glog -r .
237 @ 29:b584fa49f42e {} 237 @ 31:b584fa49f42e {}
238 | Added h () 238 | Added h ()
239 | 239 |
240 240
241 When the changeset does not has a topic but we have an active topic 241 When the changeset does not has a topic but we have an active topic
242 242
244 marked working directory as topic: watwat 244 marked working directory as topic: watwat
245 $ hg ci --amend 245 $ hg ci --amend
246 active topic 'watwat' grew its first changeset 246 active topic 'watwat' grew its first changeset
247 (see 'hg help topics' for more information) 247 (see 'hg help topics' for more information)
248 $ hg glog -r . 248 $ hg glog -r .
249 @ 30:a24c31c35013 {watwat} 249 @ 33:a24c31c35013 {watwat}
250 | Added h () 250 | Added h ()
251 | 251 |
252 252
253 Testing changing topics on public changeset 253 Testing changing topics on public changeset
254 ------------------------------------------- 254 -------------------------------------------
270 Testing the bookmark movement 270 Testing the bookmark movement
271 ----------------------------- 271 -----------------------------
272 272
273 $ hg bookmark book 273 $ hg bookmark book
274 $ hg glog 274 $ hg glog
275 @ 30:a24c31c35013 {watwat} 275 @ 33:a24c31c35013 {watwat}
276 | Added h (book) 276 | Added h (book)
277 | 277 |
278 o 26:7c76c271395f {bar} 278 o 26:7c76c271395f {bar}
279 | Added g () 279 | Added g ()
280 | 280 |
302 clearing empty topic "watwat" 302 clearing empty topic "watwat"
303 active topic 'watwat' is now empty 303 active topic 'watwat' is now empty
304 changed topic on 1 changes 304 changed topic on 1 changes
305 305
306 $ hg glog 306 $ hg glog
307 @ 31:c48d6d71b2d9 {} 307 @ 34:c48d6d71b2d9 {}
308 | Added h (book) 308 | Added h (book)
309 | 309 |
310 o 26:7c76c271395f {bar} 310 o 26:7c76c271395f {bar}
311 | Added g () 311 | Added g ()
312 | 312 |
334 $ hg bookmark bookboo 334 $ hg bookmark bookboo
335 $ hg topic -r . movebook 335 $ hg topic -r . movebook
336 switching to topic movebook 336 switching to topic movebook
337 changed topic on 1 changes 337 changed topic on 1 changes
338 $ hg glog 338 $ hg glog
339 @ 32:1b83d11095b9 {movebook} 339 @ 35:1b83d11095b9 {movebook}
340 | Added h (book bookboo) 340 | Added h (book bookboo)
341 | 341 |
342 o 26:7c76c271395f {bar} 342 o 26:7c76c271395f {bar}
343 | Added g () 343 | Added g ()
344 | 344 |
375 $ hg topic -r . watwat 375 $ hg topic -r . watwat
376 switching to topic watwat 376 switching to topic watwat
377 changed topic on 1 changes 377 changed topic on 1 changes
378 378
379 $ hg glog 379 $ hg glog
380 @ 33:894983f69e69 {watwat} 380 @ 36:894983f69e69 {watwat}
381 | Added g () 381 | Added g ()
382 | 382 |
383 | o 32:1b83d11095b9 {movebook} 383 | o 35:1b83d11095b9 {movebook}
384 | | Added h (book bookboo) 384 | | Added h (book bookboo)
385 | | 385 | |
386 | x 26:7c76c271395f {bar} 386 | x 26:7c76c271395f {bar}
387 |/ Added g () 387 |/ Added g ()
388 | 388 |
403 | 403 |
404 o 8:86a186070af2 {} 404 o 8:86a186070af2 {}
405 Added a () 405 Added a ()
406 406
407 $ hg phase -r . 407 $ hg phase -r .
408 33: secret 408 36: secret