##// END OF EJS Templates
bookmarks: ensure current bookmark is updated when specified with -r ....
bookmarks: ensure current bookmark is updated when specified with -r . "hg bookmark -r . foo" should be equivalent to "hg bookmark foo".

File last commit:

r11561:e5aaaef9 stable
r11561:e5aaaef9 stable
Show More
test-bookmarks-current.out
30 lines | 886 B | text/plain | TextLexer
/ tests / test-bookmarks-current.out
David Soria Parra
bookmarks: tests for track.current option
r7551 % no bookmarks
no bookmarks set
% set bookmark X
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 % list bookmarks
* X -1:000000000000
Brodie Rao
color: colorize based on output labels instead of parsing output...
r10826 % list bookmarks with color
 * X -1:000000000000
David Soria Parra
bookmarks: tests for track.current option
r7551 % update to bookmark X
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% list bookmarks
* X -1:000000000000
% rename
% list bookmarks
* Z -1:000000000000
% new bookmark Y
% list bookmarks
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 * Y -1:000000000000
Z -1:000000000000
David Soria Parra
bookmarks: tests for track.current option
r7551 % commit
% list bookmarks
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 * Y 0:719295282060
Z -1:000000000000
Alex Unden
bookmarks: fixes bug where a deleted bookmark may still be treated as current when track.current option is set
r7817 % delete bookmarks
% list bookmarks
no bookmarks set
% update to tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Brodie Rao
bookmarks: ensure current bookmark is updated when specified with -r ....
r11561 % set bookmark Y using -r .
% list bookmarks
* Y 0:719295282060