view tests/test-bookmarks-current.out @ 10881:a685011ed38e

localrepo: add desc parameter to transaction All callers to localrepo.transaction() must supply a transaction description. The description and the existing repository tip are then stored (transactionally) into .hg/undo.desc; where rollback can later find it.
author Steve Borho <steve@borho.org>
date Fri, 09 Apr 2010 17:23:35 -0500
parents 717c35d55fb3
children e5aaaef91a27
line wrap: on
line source

% 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