##// END OF EJS Templates
bookmarks: Fix tests...
David Soria Parra -
r7482:42cb14f2 default
parent child Browse files
Show More
@@ -1,42 +1,44
1 1 % initialize repository
2 2 adding a
3 3 adding b
4 4 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
5 5 adding c
6 6 created new head
7 7 adding d
8 8 % bookmark list
9 9 * two 3:2ae46b1d99a7
10 10 one 1:925d80f479bb
11 11 % rebase
12 12 saving bundle to
13 13 adding branch
14 14 adding changesets
15 15 adding manifests
16 16 adding file changes
17 17 added 1 changesets with 1 changes to 1 files (-1 heads)
18 18 rebase completed
19 19 changeset: 3:9163974d1cb5
20 20 tag: tip
21 tag: two
22 tag: one
21 23 parent: 1:925d80f479bb
22 24 parent: 2:db815d6d32e6
23 25 user: test
24 26 date: Thu Jan 01 00:00:00 1970 +0000
25 27 summary: 3
26 28
27 29 changeset: 2:db815d6d32e6
28 30 parent: 0:f7b1eb17ad24
29 31 user: test
30 32 date: Thu Jan 01 00:00:00 1970 +0000
31 33 summary: 2
32 34
33 35 changeset: 1:925d80f479bb
34 36 user: test
35 37 date: Thu Jan 01 00:00:00 1970 +0000
36 38 summary: 1
37 39
38 40 changeset: 0:f7b1eb17ad24
39 41 user: test
40 42 date: Thu Jan 01 00:00:00 1970 +0000
41 43 summary: 0
42 44
@@ -1,70 +1,74
1 1 % no bookmarks
2 2 no bookmarks set
3 3 % bookmark rev -1
4 4 % list bookmarks
5 5 * X -1:000000000000
6 6 % bookmark X moved to rev 0
7 7 * X 0:f7b1eb17ad24
8 8 % look up bookmark
9 9 changeset: 0:f7b1eb17ad24
10 tag: X
10 11 tag: tip
11 12 user: test
12 13 date: Thu Jan 01 00:00:00 1970 +0000
13 14 summary: 0
14 15
15 16 % second bookmark for rev 0
16 17 % bookmark rev -1 again
17 18 % list bookmarks
18 19 * X2 0:f7b1eb17ad24
19 20 * X 0:f7b1eb17ad24
20 21 Y -1:000000000000
21 22 % bookmarks X and X2 moved to rev 1, Y at rev -1
22 23 * X2 1:925d80f479bb
23 24 * X 1:925d80f479bb
24 25 Y -1:000000000000
25 26 % bookmark rev 0 again
26 27 % bookmarks X and X2 moved to rev 2, Y at rev -1, Z at rev 0
27 28 * X2 2:0316ce92851d
28 29 * X 2:0316ce92851d
29 30 Z 0:f7b1eb17ad24
30 31 Y -1:000000000000
31 32 % rename nonexistent bookmark
32 33 abort: a bookmark of this name does not exist
33 34 % rename to existent bookmark
34 35 abort: a bookmark of the same name already exists
35 36 % force rename to existent bookmark
36 37 % list bookmarks
37 38 * X2 2:0316ce92851d
38 39 * Y 2:0316ce92851d
39 40 Z 0:f7b1eb17ad24
40 41 % rename without new name
41 42 abort: new bookmark name required
42 43 % delete without name
43 44 abort: bookmark name required
44 45 % delete nonexistent bookmark
45 46 abort: a bookmark of this name does not exist
46 47 % bookmark name with spaces should be stripped
47 48 % list bookmarks
48 49 * X2 2:0316ce92851d
49 50 * Y 2:0316ce92851d
50 51 Z 0:f7b1eb17ad24
51 52 * x y 2:0316ce92851d
52 53 % look up stripped bookmark name
53 54 changeset: 2:0316ce92851d
55 tag: X2
56 tag: Y
54 57 tag: tip
58 tag: x y
55 59 user: test
56 60 date: Thu Jan 01 00:00:00 1970 +0000
57 61 summary: 2
58 62
59 63 % reject bookmark name with newline
60 64 abort: bookmark name cannot contain newlines
61 65 % bookmark with existing name
62 66 abort: a bookmark of the same name already exists
63 67 % force bookmark with existing name
64 68 % list bookmarks
65 69 * X2 2:0316ce92851d
66 70 * Y 2:0316ce92851d
67 71 * Z 2:0316ce92851d
68 72 * x y 2:0316ce92851d
69 73 % revision but no bookmark name
70 74 abort: bookmark name required
General Comments 0
You need to be logged in to leave comments. Login now