7261
|
1 |
% no bookmarks
|
|
2 |
no bookmarks set
|
|
3 |
% bookmark rev -1
|
|
4 |
% list bookmarks
|
|
5 |
* X -1:000000000000
|
|
6 |
% bookmark X moved to rev 0
|
|
7 |
* X 0:f7b1eb17ad24
|
|
8 |
% look up bookmark
|
|
9 |
changeset: 0:f7b1eb17ad24
|
7482
|
10 |
tag: X
|
7261
|
11 |
tag: tip
|
|
12 |
user: test
|
|
13 |
date: Thu Jan 01 00:00:00 1970 +0000
|
|
14 |
summary: 0
|
|
15 |
|
|
16 |
% second bookmark for rev 0
|
|
17 |
% bookmark rev -1 again
|
|
18 |
% list bookmarks
|
|
19 |
* X2 0:f7b1eb17ad24
|
|
20 |
* X 0:f7b1eb17ad24
|
|
21 |
Y -1:000000000000
|
|
22 |
% bookmarks X and X2 moved to rev 1, Y at rev -1
|
|
23 |
* X2 1:925d80f479bb
|
|
24 |
* X 1:925d80f479bb
|
|
25 |
Y -1:000000000000
|
|
26 |
% bookmark rev 0 again
|
|
27 |
% bookmarks X and X2 moved to rev 2, Y at rev -1, Z at rev 0
|
|
28 |
* X2 2:0316ce92851d
|
|
29 |
* X 2:0316ce92851d
|
|
30 |
Z 0:f7b1eb17ad24
|
|
31 |
Y -1:000000000000
|
|
32 |
% rename nonexistent bookmark
|
|
33 |
abort: a bookmark of this name does not exist
|
|
34 |
% rename to existent bookmark
|
|
35 |
abort: a bookmark of the same name already exists
|
|
36 |
% force rename to existent bookmark
|
|
37 |
% list bookmarks
|
|
38 |
* X2 2:0316ce92851d
|
|
39 |
* Y 2:0316ce92851d
|
|
40 |
Z 0:f7b1eb17ad24
|
|
41 |
% rename without new name
|
|
42 |
abort: new bookmark name required
|
|
43 |
% delete without name
|
|
44 |
abort: bookmark name required
|
|
45 |
% delete nonexistent bookmark
|
|
46 |
abort: a bookmark of this name does not exist
|
|
47 |
% bookmark name with spaces should be stripped
|
|
48 |
% list bookmarks
|
|
49 |
* X2 2:0316ce92851d
|
|
50 |
* Y 2:0316ce92851d
|
|
51 |
Z 0:f7b1eb17ad24
|
|
52 |
* x y 2:0316ce92851d
|
|
53 |
% look up stripped bookmark name
|
|
54 |
changeset: 2:0316ce92851d
|
7482
|
55 |
tag: X2
|
|
56 |
tag: Y
|
7261
|
57 |
tag: tip
|
7482
|
58 |
tag: x y
|
7261
|
59 |
user: test
|
|
60 |
date: Thu Jan 01 00:00:00 1970 +0000
|
|
61 |
summary: 2
|
|
62 |
|
|
63 |
% reject bookmark name with newline
|
|
64 |
abort: bookmark name cannot contain newlines
|
|
65 |
% bookmark with existing name
|
|
66 |
abort: a bookmark of the same name already exists
|
|
67 |
% force bookmark with existing name
|
|
68 |
% list bookmarks
|
|
69 |
* X2 2:0316ce92851d
|
|
70 |
* Y 2:0316ce92851d
|
|
71 |
* Z 2:0316ce92851d
|
|
72 |
* x y 2:0316ce92851d
|
|
73 |
% revision but no bookmark name
|
|
74 |
abort: bookmark name required
|