##// 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
% no bookmarks
no bookmarks set
% set bookmark X
% list bookmarks
* X -1:000000000000
% list bookmarks with color
 * X -1:000000000000
% 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
* Y -1:000000000000
Z -1:000000000000
% commit
% list bookmarks
* Y 0:719295282060
Z -1:000000000000
% delete bookmarks
% list bookmarks
no bookmarks set
% update to tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% set bookmark Y using -r .
% list bookmarks
* Y 0:719295282060