author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
Thu, 12 Aug 2010 19:40:22 +0900 | |
changeset 11794 | 80c63b2a29a8 |
parent 11704 | 18c47562d331 |
permissions | -rw-r--r-- |
7261 | 1 |
% no bookmarks |
2 |
no bookmarks set |
|
3 |
% bookmark rev -1 |
|
4 |
% list bookmarks |
|
5 |
* X -1:000000000000 |
|
10826
717c35d55fb3
color: colorize based on output labels instead of parsing output
Brodie Rao <brodie@bitheap.org>
parents:
7482
diff
changeset
|
6 |
% list bookmarks with color |
717c35d55fb3
color: colorize based on output labels instead of parsing output
Brodie Rao <brodie@bitheap.org>
parents:
7482
diff
changeset
|
7 |
[0;32m * X -1:000000000000[0m |
7261 | 8 |
% bookmark X moved to rev 0 |
9 |
* X 0:f7b1eb17ad24 |
|
10 |
% look up bookmark |
|
11 |
changeset: 0:f7b1eb17ad24 |
|
7482 | 12 |
tag: X |
7261 | 13 |
tag: tip |
14 |
user: test |
|
15 |
date: Thu Jan 01 00:00:00 1970 +0000 |
|
16 |
summary: 0 |
|
17 |
||
18 |
% second bookmark for rev 0 |
|
19 |
% bookmark rev -1 again |
|
20 |
% list bookmarks |
|
21 |
* X2 0:f7b1eb17ad24 |
|
22 |
* X 0:f7b1eb17ad24 |
|
23 |
Y -1:000000000000 |
|
24 |
% bookmarks X and X2 moved to rev 1, Y at rev -1 |
|
25 |
* X2 1:925d80f479bb |
|
26 |
* X 1:925d80f479bb |
|
27 |
Y -1:000000000000 |
|
28 |
% bookmark rev 0 again |
|
29 |
% bookmarks X and X2 moved to rev 2, Y at rev -1, Z at rev 0 |
|
30 |
* X2 2:0316ce92851d |
|
31 |
* X 2:0316ce92851d |
|
32 |
Z 0:f7b1eb17ad24 |
|
33 |
Y -1:000000000000 |
|
34 |
% rename nonexistent bookmark |
|
35 |
abort: a bookmark of this name does not exist |
|
36 |
% rename to existent bookmark |
|
37 |
abort: a bookmark of the same name already exists |
|
38 |
% force rename to existent bookmark |
|
39 |
% list bookmarks |
|
40 |
* X2 2:0316ce92851d |
|
41 |
* Y 2:0316ce92851d |
|
42 |
Z 0:f7b1eb17ad24 |
|
43 |
% rename without new name |
|
44 |
abort: new bookmark name required |
|
45 |
% delete without name |
|
46 |
abort: bookmark name required |
|
47 |
% delete nonexistent bookmark |
|
48 |
abort: a bookmark of this name does not exist |
|
49 |
% bookmark name with spaces should be stripped |
|
50 |
% list bookmarks |
|
51 |
* X2 2:0316ce92851d |
|
52 |
* Y 2:0316ce92851d |
|
53 |
Z 0:f7b1eb17ad24 |
|
54 |
* x y 2:0316ce92851d |
|
55 |
% look up stripped bookmark name |
|
56 |
changeset: 2:0316ce92851d |
|
7482 | 57 |
tag: X2 |
58 |
tag: Y |
|
7261 | 59 |
tag: tip |
7482 | 60 |
tag: x y |
7261 | 61 |
user: test |
62 |
date: Thu Jan 01 00:00:00 1970 +0000 |
|
63 |
summary: 2 |
|
64 |
||
65 |
% reject bookmark name with newline |
|
66 |
abort: bookmark name cannot contain newlines |
|
67 |
% bookmark with existing name |
|
68 |
abort: a bookmark of the same name already exists |
|
69 |
% force bookmark with existing name |
|
70 |
% list bookmarks |
|
71 |
* X2 2:0316ce92851d |
|
72 |
* Y 2:0316ce92851d |
|
73 |
* Z 2:0316ce92851d |
|
74 |
* x y 2:0316ce92851d |
|
75 |
% revision but no bookmark name |
|
76 |
abort: bookmark name required |
|
11704
18c47562d331
bookmarks: don't allow name to contain whitespaces only
Idan Kamara <idankk86@gmail.com>
parents:
10826
diff
changeset
|
77 |
% bookmark name with whitespace only |
18c47562d331
bookmarks: don't allow name to contain whitespaces only
Idan Kamara <idankk86@gmail.com>
parents:
10826
diff
changeset
|
78 |
abort: bookmark names cannot consist entirely of whitespace |