comparison tests/test-prune.t @ 1345:37c505975e28

evolve: add a test for prune --keep -r . with active bookmark We recently changed the behavior of prune to make sure that the active bookmark stays active after prune -r . This patch adds a test for the case of prune --keep -r . that does not take the same code path.
author Laurent Charignon <lcharignon@fb.com>
date Wed, 20 May 2015 13:32:32 -0700
parents 376d3df9f47b
children 4140d680784e
comparison
equal deleted inserted replaced
1344:376d3df9f47b 1345:37c505975e28
359 | | 359 | |
360 o | 1:66f7d451a68b[] (stable/draft) r1 360 o | 1:66f7d451a68b[] (stable/draft) r1
361 |/ 361 |/
362 o 0:1ea73414a91b[] (stable/draft) r0 362 o 0:1ea73414a91b[] (stable/draft) r0
363 363
364 $ hg book CELESTE
365 $ hg prune -r . --keep
366 1 changesets pruned
367 $ hg book
368 B 8:d62d843c9a01
369 * CELESTE 8:d62d843c9a01
370 r10 8:d62d843c9a01
371 rg 8:d62d843c9a01
372