comparison tests/test-bookmarks.t @ 21404:ca275f7ec576

update: when deactivating a bookmark, print a message This helps prevent user confusion when innocent-seeming commands like 'hg update -C .' are run.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 14 May 2014 12:49:55 -0700
parents aa9385f983fa
children 10f15e34d86c
comparison
equal deleted inserted replaced
21403:3db723e2dc20 21404:ca275f7ec576
580 summary: 0 580 summary: 0
581 581
582 $ hg book should-end-on-two 582 $ hg book should-end-on-two
583 $ hg co --clean 4 583 $ hg co --clean 4
584 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 584 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
585 (leaving bookmark should-end-on-two)
585 $ hg book four 586 $ hg book four
586 $ hg --config extensions.mq= strip 3 587 $ hg --config extensions.mq= strip 3
587 saved backup bundle to * (glob) 588 saved backup bundle to * (glob)
588 should-end-on-two should end up pointing to revision 2, as that's the 589 should-end-on-two should end up pointing to revision 2, as that's the
589 tipmost surviving ancestor of the stripped revision. 590 tipmost surviving ancestor of the stripped revision.