comparison tests/test-bookmarks-current.out @ 7816:f420eafe59cd

bookmarks: Set current bookmark if we create a new one on the tip If track.current is enabled we set the newly created bookmark as the current tracked bookmark. We do not do this if a revision is specified.
author David Soria Parra <dsp@php.net>
date Sun, 01 Mar 2009 00:30:01 +0100
parents cab1cf26ca58
children cb516e788238
comparison
equal deleted inserted replaced
7815:bcd364b247ba 7816:f420eafe59cd
1 % no bookmarks 1 % no bookmarks
2 no bookmarks set 2 no bookmarks set
3 % set bookmark X 3 % set bookmark X
4 % list bookmarks
5 * X -1:000000000000
4 % update to bookmark X 6 % update to bookmark X
5 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 7 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
6 % list bookmarks 8 % list bookmarks
7 * X -1:000000000000 9 * X -1:000000000000
8 % rename 10 % rename
9 % list bookmarks 11 % list bookmarks
10 * Z -1:000000000000 12 * Z -1:000000000000
11 % new bookmark Y 13 % new bookmark Y
12 % list bookmarks 14 % list bookmarks
13 Y -1:000000000000 15 * Y -1:000000000000
14 * Z -1:000000000000 16 Z -1:000000000000
15 % commit 17 % commit
16 % list bookmarks 18 % list bookmarks
17 Y -1:000000000000 19 * Y 0:719295282060
18 * Z 0:719295282060 20 Z -1:000000000000