1 marked working directory as branch a |
|
2 marked working directory as branch b |
|
3 marked working directory as branch a-b-c- |
|
4 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
5 marked working directory as branch +a+b+c+ |
|
6 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
7 marked working directory as branch -a-b-c- |
|
8 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
9 marked working directory as branch /a/b/c/ |
|
10 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
11 (branch merge, don't forget to commit) |
|
12 marked working directory as branch _a_b_c_ |
|
13 marked working directory as branch .a.b.c. |
|
14 marked working directory as branch all |
|
15 abort: can only close branch heads |
|
16 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
17 marked working directory as branch é |
|
18 % hg debugrevspec a |
|
19 ('symbol', 'a') |
|
20 0 |
|
21 % hg debugrevspec b-a |
|
22 ('minus', ('symbol', 'b'), ('symbol', 'a')) |
|
23 1 |
|
24 % hg debugrevspec _a_b_c_ |
|
25 ('symbol', '_a_b_c_') |
|
26 6 |
|
27 % hg debugrevspec _a_b_c_-a |
|
28 ('minus', ('symbol', '_a_b_c_'), ('symbol', 'a')) |
|
29 6 |
|
30 % hg debugrevspec .a.b.c. |
|
31 ('symbol', '.a.b.c.') |
|
32 7 |
|
33 % hg debugrevspec .a.b.c.-a |
|
34 ('minus', ('symbol', '.a.b.c.'), ('symbol', 'a')) |
|
35 7 |
|
36 % hg debugrevspec -- -a-b-c- |
|
37 hg: parse error at 7: not a prefix: end |
|
38 % log '-a-b-c-' |
|
39 4 |
|
40 % hg debugrevspec -- -a-b-c--a |
|
41 ('minus', ('minus', ('minus', ('negate', ('symbol', 'a')), ('symbol', 'b')), ('symbol', 'c')), ('negate', ('symbol', 'a'))) |
|
42 abort: unknown revision '-a'! |
|
43 % hg debugrevspec é |
|
44 ('symbol', '\xc3\xa9') |
|
45 9 |
|
46 % hg debugrevspec "-a-b-c-"-a |
|
47 ('minus', ('string', '-a-b-c-'), ('symbol', 'a')) |
|
48 4 |
|
49 % log '1 or 2' |
|
50 1 |
|
51 2 |
|
52 % log '1|2' |
|
53 1 |
|
54 2 |
|
55 % log '1 and 2' |
|
56 % log '1&2' |
|
57 % hg debugrevspec 1&2|3 |
|
58 ('or', ('and', ('symbol', '1'), ('symbol', '2')), ('symbol', '3')) |
|
59 3 |
|
60 % hg debugrevspec 1|2&3 |
|
61 ('or', ('symbol', '1'), ('and', ('symbol', '2'), ('symbol', '3'))) |
|
62 1 |
|
63 % hg debugrevspec 1&2&3 |
|
64 ('and', ('and', ('symbol', '1'), ('symbol', '2')), ('symbol', '3')) |
|
65 % hg debugrevspec 1|(2|3) |
|
66 ('or', ('symbol', '1'), ('group', ('or', ('symbol', '2'), ('symbol', '3')))) |
|
67 1 |
|
68 2 |
|
69 3 |
|
70 % log '1.0' |
|
71 6 |
|
72 % log 'a' |
|
73 0 |
|
74 % log '2785f51ee' |
|
75 0 |
|
76 % log 'date(2005)' |
|
77 4 |
|
78 % log 'date(this is a test)' |
|
79 hg: parse error at 10: unexpected token: symbol |
|
80 % log 'date()' |
|
81 hg: parse error: date wants a string |
|
82 % log 'date' |
|
83 hg: parse error: can't use date here |
|
84 % log 'date(' |
|
85 hg: parse error at 5: not a prefix: end |
|
86 % log 'date(tip)' |
|
87 abort: invalid date: 'tip' |
|
88 % log '"date"' |
|
89 abort: unknown revision 'date'! |
|
90 % log 'date(2005) and 1::' |
|
91 4 |
|
92 % log 'ancestor(1)' |
|
93 hg: parse error: ancestor wants two arguments |
|
94 % log 'ancestor(4,5)' |
|
95 1 |
|
96 % log 'ancestor(4,5) and 4' |
|
97 % log 'ancestors(5)' |
|
98 0 |
|
99 1 |
|
100 3 |
|
101 5 |
|
102 % log 'author(bob)' |
|
103 2 |
|
104 % log 'branch(é)' |
|
105 8 |
|
106 9 |
|
107 % log 'children(ancestor(4,5))' |
|
108 2 |
|
109 3 |
|
110 % log 'closed()' |
|
111 % log 'contains(a)' |
|
112 0 |
|
113 1 |
|
114 3 |
|
115 5 |
|
116 % log 'descendants(2 or 3)' |
|
117 2 |
|
118 3 |
|
119 4 |
|
120 5 |
|
121 6 |
|
122 7 |
|
123 8 |
|
124 9 |
|
125 % log 'file(b)' |
|
126 1 |
|
127 4 |
|
128 % log 'follow()' |
|
129 0 |
|
130 1 |
|
131 2 |
|
132 4 |
|
133 8 |
|
134 9 |
|
135 % log 'grep("issue\d+")' |
|
136 6 |
|
137 % log 'head()' |
|
138 0 |
|
139 1 |
|
140 2 |
|
141 3 |
|
142 4 |
|
143 5 |
|
144 6 |
|
145 7 |
|
146 9 |
|
147 % log 'heads(6::)' |
|
148 7 |
|
149 % log 'keyword(issue)' |
|
150 6 |
|
151 % log 'limit(head(), 1)' |
|
152 0 |
|
153 % log 'max(contains(a))' |
|
154 5 |
|
155 % log 'min(contains(a))' |
|
156 0 |
|
157 % log 'merge()' |
|
158 6 |
|
159 % log 'modifies(b)' |
|
160 4 |
|
161 % log 'outgoing()' |
|
162 8 |
|
163 9 |
|
164 % log 'outgoing("../remote1")' |
|
165 8 |
|
166 9 |
|
167 % log 'outgoing("../remote2")' |
|
168 3 |
|
169 5 |
|
170 6 |
|
171 7 |
|
172 9 |
|
173 % log 'p1(merge())' |
|
174 5 |
|
175 % log 'p2(merge())' |
|
176 4 |
|
177 % log 'parents(merge())' |
|
178 4 |
|
179 5 |
|
180 % log 'removes(a)' |
|
181 2 |
|
182 6 |
|
183 % log 'roots(all())' |
|
184 0 |
|
185 % log 'reverse(2 or 3 or 4 or 5)' |
|
186 5 |
|
187 4 |
|
188 3 |
|
189 2 |
|
190 % log 'sort(limit(reverse(all()), 3))' |
|
191 7 |
|
192 8 |
|
193 9 |
|
194 % log 'sort(2 or 3 or 4 or 5, date)' |
|
195 2 |
|
196 3 |
|
197 5 |
|
198 4 |
|
199 % log 'tagged()' |
|
200 6 |
|
201 % log 'user(bob)' |
|
202 2 |
|
203 % log '4::8' |
|
204 4 |
|
205 8 |
|
206 % log '4:8' |
|
207 4 |
|
208 5 |
|
209 6 |
|
210 7 |
|
211 8 |
|
212 % log 'sort(!merge() & (modifies(b) | user(bob) | keyword(bug) | keyword(issue) & 1::9), "-date")' |
|
213 4 |
|
214 2 |
|
215 5 |
|
216 % log 'not 0 and 0:2' |
|
217 1 |
|
218 2 |
|
219 % log 'not 1 and 0:2' |
|
220 0 |
|
221 2 |
|
222 % log 'not 2 and 0:2' |
|
223 0 |
|
224 1 |
|
225 % log '(1 and 2)::' |
|
226 % log '(1 and 2):' |
|
227 % log '(1 and 2):3' |
|
228 % log 'sort(head(), -rev)' |
|
229 9 |
|
230 7 |
|
231 6 |
|
232 5 |
|
233 4 |
|
234 3 |
|
235 2 |
|
236 1 |
|
237 0 |
|