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