Mercurial > hg
comparison tests/test-bookmarks.t @ 43601:a80d5ddecc2d
bookmarks: accept explicit -r 'wdir()' when adding new bookmarks (issue6218)
Even though the bookmark semantics can't be fully encoded to the virtual
working changeset idea, the active bookmark can be considered a bookmark
of the working revision.
Before, 'tgt' was None, and changes=[(bm, None)] means deleting a bookmark
named 'bm'.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 09 Nov 2019 12:55:56 +0900 |
parents | 2a8cd7edf409 |
children | 3b50de911200 |
comparison
equal
deleted
inserted
replaced
43600:fe2e0d100187 | 43601:a80d5ddecc2d |
---|---|
616 X2 1:925d80f479bb | 616 X2 1:925d80f479bb |
617 Y 2:db815d6d32e6 | 617 Y 2:db815d6d32e6 |
618 Z 2:db815d6d32e6 | 618 Z 2:db815d6d32e6 |
619 x y 2:db815d6d32e6 | 619 x y 2:db815d6d32e6 |
620 $ hg bookmark Z | 620 $ hg bookmark Z |
621 | |
622 bookmark wdir to activate it (issue6218) | |
623 | |
624 $ hg bookmark -d Z | |
625 $ hg bookmark -r 'wdir()' Z | |
626 $ hg bookmark -l | |
627 X2 1:925d80f479bb | |
628 Y 2:db815d6d32e6 | |
629 * Z 2:db815d6d32e6 | |
630 x y 2:db815d6d32e6 | |
621 | 631 |
622 test clone | 632 test clone |
623 | 633 |
624 $ hg bookmark -r 2 -i @ | 634 $ hg bookmark -r 2 -i @ |
625 $ hg bookmark -r 2 -i a@ | 635 $ hg bookmark -r 2 -i a@ |