Show More
@@ -1,74 +1,321 b'' | |||||
1 | #! /bin/sh |
|
1 | $ echo "[extensions]" >> $HGRCPATH | |
|
2 | $ echo "graphlog=" >> $HGRCPATH | |||
2 |
|
3 | |||
3 | echo "[extensions]" >> $HGRCPATH |
|
4 | overwritten and appended files | |
4 | echo "graphlog=" >> $HGRCPATH |
|
|||
5 |
|
||||
6 |
|
||||
7 |
|
||||
8 | echo ---- overwritten and appended files |
|
|||
9 |
|
5 | |||
10 | rm -rf repo |
|
6 | $ rm -rf repo | |
11 | hg init repo |
|
7 | $ hg init repo | |
12 | cd repo |
|
8 | $ cd repo | |
13 | hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -oa |
|
9 | $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -oa | |
14 | echo -- dag |
|
10 | dag | |
15 | hg debugdag -t -b |
|
11 | $ hg debugdag -t -b | |
16 | echo -- tip |
|
12 | +2:f | |
17 | hg id |
|
13 | +3:p2 | |
18 | echo -- glog |
|
14 | @temp*f+3 | |
19 | hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' |
|
15 | @default*/p2+2:tip | |
20 | echo -- glog of |
|
16 | tip | |
21 | hg glog --template '{rev}: {desc} [{branches}]\n' of |
|
17 | $ hg id | |
22 | echo -- glog af |
|
18 | f96e381c614c tip | |
23 | hg glog --template '{rev}: {desc} [{branches}]\n' af |
|
19 | glog | |
24 | echo -- tags |
|
20 | $ hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' | |
25 | hg tags -v |
|
21 | @ 11: r11 [] @ 11.00 | |
26 | echo -- cat of |
|
22 | | | |
27 | hg cat of |
|
23 | o 10: r10 [] @ 10.00 | |
28 | echo -- cat af |
|
24 | | | |
29 | hg cat af |
|
25 | o 9: r9 [] @ 9.00 | |
30 | cd .. |
|
26 | |\ | |
|
27 | | o 8: r8 [temp] @ 8.00 | |||
|
28 | | | | |||
|
29 | | o 7: r7 [temp] @ 7.00 | |||
|
30 | | | | |||
|
31 | | o 6: r6 [temp] @ 6.00 | |||
|
32 | | | | |||
|
33 | | o 5: r5 [temp] @ 5.00 | |||
|
34 | | | | |||
|
35 | o | 4: r4 [] @ 4.00 | |||
|
36 | | | | |||
|
37 | o | 3: r3 [] @ 3.00 | |||
|
38 | | | | |||
|
39 | o | 2: r2 [] @ 2.00 | |||
|
40 | |/ | |||
|
41 | o 1: r1 [] @ 1.00 | |||
|
42 | | | |||
|
43 | o 0: r0 [] @ 0.00 | |||
|
44 | ||||
|
45 | glog of | |||
|
46 | $ hg glog --template '{rev}: {desc} [{branches}]\n' of | |||
|
47 | @ 11: r11 [] | |||
|
48 | | | |||
|
49 | o 10: r10 [] | |||
|
50 | | | |||
|
51 | o 9: r9 [] | |||
|
52 | |\ | |||
|
53 | | o 8: r8 [temp] | |||
|
54 | | | | |||
|
55 | | o 7: r7 [temp] | |||
|
56 | | | | |||
|
57 | | o 6: r6 [temp] | |||
|
58 | | | | |||
|
59 | | o 5: r5 [temp] | |||
|
60 | | | | |||
|
61 | o | 4: r4 [] | |||
|
62 | | | | |||
|
63 | o | 3: r3 [] | |||
|
64 | | | | |||
|
65 | o | 2: r2 [] | |||
|
66 | |/ | |||
|
67 | o 1: r1 [] | |||
|
68 | | | |||
|
69 | o 0: r0 [] | |||
|
70 | ||||
|
71 | glog af | |||
|
72 | $ hg glog --template '{rev}: {desc} [{branches}]\n' af | |||
|
73 | @ 11: r11 [] | |||
|
74 | | | |||
|
75 | o 10: r10 [] | |||
|
76 | | | |||
|
77 | o 9: r9 [] | |||
|
78 | |\ | |||
|
79 | | o 8: r8 [temp] | |||
|
80 | | | | |||
|
81 | | o 7: r7 [temp] | |||
|
82 | | | | |||
|
83 | | o 6: r6 [temp] | |||
|
84 | | | | |||
|
85 | | o 5: r5 [temp] | |||
|
86 | | | | |||
|
87 | o | 4: r4 [] | |||
|
88 | | | | |||
|
89 | o | 3: r3 [] | |||
|
90 | | | | |||
|
91 | o | 2: r2 [] | |||
|
92 | |/ | |||
|
93 | o 1: r1 [] | |||
|
94 | | | |||
|
95 | o 0: r0 [] | |||
|
96 | ||||
|
97 | tags | |||
|
98 | $ hg tags -v | |||
|
99 | tip 11:f96e381c614c | |||
|
100 | p2 4:d9d6db981b55 local | |||
|
101 | f 1:73253def624e local | |||
|
102 | cat of | |||
|
103 | $ hg cat of | |||
|
104 | r11 | |||
|
105 | cat af | |||
|
106 | $ hg cat af | |||
|
107 | r0 | |||
|
108 | r1 | |||
|
109 | r5 | |||
|
110 | r6 | |||
|
111 | r7 | |||
|
112 | r8 | |||
|
113 | r9 | |||
|
114 | r10 | |||
|
115 | r11 | |||
|
116 | $ cd .. | |||
31 |
|
117 | |||
32 |
|
|
118 | new and mergeable files | |
33 |
|
119 | |||
34 | rm -rf repo |
|
120 | $ rm -rf repo | |
35 | hg init repo |
|
121 | $ hg init repo | |
36 | cd repo |
|
122 | $ cd repo | |
37 | hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn |
|
123 | $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn | |
38 | echo -- dag |
|
124 | dag | |
39 | hg debugdag -t -b |
|
125 | $ hg debugdag -t -b | |
40 | echo -- tip |
|
126 | +2:f | |
41 | hg id |
|
127 | +3:p2 | |
42 | echo -- glog |
|
128 | @temp*f+3 | |
43 | hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' |
|
129 | @default*/p2+2:tip | |
44 | echo -- glog mf |
|
130 | tip | |
45 | hg glog --template '{rev}: {desc} [{branches}]\n' mf |
|
131 | $ hg id | |
|
132 | 9c5ce9b70771 tip | |||
|
133 | glog | |||
|
134 | $ hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' | |||
|
135 | @ 11: r11 [] @ 11.00 | |||
|
136 | | | |||
|
137 | o 10: r10 [] @ 10.00 | |||
|
138 | | | |||
|
139 | o 9: r9 [] @ 9.00 | |||
|
140 | |\ | |||
|
141 | | o 8: r8 [temp] @ 8.00 | |||
|
142 | | | | |||
|
143 | | o 7: r7 [temp] @ 7.00 | |||
|
144 | | | | |||
|
145 | | o 6: r6 [temp] @ 6.00 | |||
|
146 | | | | |||
|
147 | | o 5: r5 [temp] @ 5.00 | |||
|
148 | | | | |||
|
149 | o | 4: r4 [] @ 4.00 | |||
|
150 | | | | |||
|
151 | o | 3: r3 [] @ 3.00 | |||
|
152 | | | | |||
|
153 | o | 2: r2 [] @ 2.00 | |||
|
154 | |/ | |||
|
155 | o 1: r1 [] @ 1.00 | |||
|
156 | | | |||
|
157 | o 0: r0 [] @ 0.00 | |||
|
158 | ||||
|
159 | glog mf | |||
|
160 | $ hg glog --template '{rev}: {desc} [{branches}]\n' mf | |||
|
161 | @ 11: r11 [] | |||
|
162 | | | |||
|
163 | o 10: r10 [] | |||
|
164 | | | |||
|
165 | o 9: r9 [] | |||
|
166 | |\ | |||
|
167 | | o 8: r8 [temp] | |||
|
168 | | | | |||
|
169 | | o 7: r7 [temp] | |||
|
170 | | | | |||
|
171 | | o 6: r6 [temp] | |||
|
172 | | | | |||
|
173 | | o 5: r5 [temp] | |||
|
174 | | | | |||
|
175 | o | 4: r4 [] | |||
|
176 | | | | |||
|
177 | o | 3: r3 [] | |||
|
178 | | | | |||
|
179 | o | 2: r2 [] | |||
|
180 | |/ | |||
|
181 | o 1: r1 [] | |||
|
182 | | | |||
|
183 | o 0: r0 [] | |||
|
184 | ||||
46 |
|
185 | |||
47 |
|
|
186 | man r4 | |
48 | hg manifest -r4 |
|
187 | $ hg manifest -r4 | |
49 | echo -- cat r4 mf |
|
188 | mf | |
50 | hg cat -r4 mf |
|
189 | nf0 | |
51 | echo -- man r8 |
|
190 | nf1 | |
52 | hg manifest -r8 |
|
191 | nf2 | |
53 | echo -- cat r8 mf |
|
192 | nf3 | |
54 | hg cat -r8 mf |
|
193 | nf4 | |
55 | echo -- man |
|
194 | cat r4 mf | |
56 | hg manifest |
|
195 | $ hg cat -r4 mf | |
57 | echo -- cat mf |
|
196 | 0 r0 | |
58 | hg cat mf |
|
197 | 1 | |
59 | cd .. |
|
198 | 2 r1 | |
|
199 | 3 | |||
|
200 | 4 r2 | |||
|
201 | 5 | |||
|
202 | 6 r3 | |||
|
203 | 7 | |||
|
204 | 8 r4 | |||
|
205 | 9 | |||
|
206 | 10 | |||
|
207 | 11 | |||
|
208 | 12 | |||
|
209 | 13 | |||
|
210 | 14 | |||
|
211 | 15 | |||
|
212 | 16 | |||
|
213 | 17 | |||
|
214 | 18 | |||
|
215 | 19 | |||
|
216 | 20 | |||
|
217 | 21 | |||
|
218 | 22 | |||
|
219 | 23 | |||
|
220 | man r8 | |||
|
221 | $ hg manifest -r8 | |||
|
222 | mf | |||
|
223 | nf0 | |||
|
224 | nf1 | |||
|
225 | nf5 | |||
|
226 | nf6 | |||
|
227 | nf7 | |||
|
228 | nf8 | |||
|
229 | cat r8 mf | |||
|
230 | $ hg cat -r8 mf | |||
|
231 | 0 r0 | |||
|
232 | 1 | |||
|
233 | 2 r1 | |||
|
234 | 3 | |||
|
235 | 4 | |||
|
236 | 5 | |||
|
237 | 6 | |||
|
238 | 7 | |||
|
239 | 8 | |||
|
240 | 9 | |||
|
241 | 10 r5 | |||
|
242 | 11 | |||
|
243 | 12 r6 | |||
|
244 | 13 | |||
|
245 | 14 r7 | |||
|
246 | 15 | |||
|
247 | 16 r8 | |||
|
248 | 17 | |||
|
249 | 18 | |||
|
250 | 19 | |||
|
251 | 20 | |||
|
252 | 21 | |||
|
253 | 22 | |||
|
254 | 23 | |||
|
255 | man | |||
|
256 | $ hg manifest | |||
|
257 | mf | |||
|
258 | nf0 | |||
|
259 | nf1 | |||
|
260 | nf10 | |||
|
261 | nf11 | |||
|
262 | nf2 | |||
|
263 | nf3 | |||
|
264 | nf4 | |||
|
265 | nf5 | |||
|
266 | nf6 | |||
|
267 | nf7 | |||
|
268 | nf8 | |||
|
269 | nf9 | |||
|
270 | cat mf | |||
|
271 | $ hg cat mf | |||
|
272 | 0 r0 | |||
|
273 | 1 | |||
|
274 | 2 r1 | |||
|
275 | 3 | |||
|
276 | 4 r2 | |||
|
277 | 5 | |||
|
278 | 6 r3 | |||
|
279 | 7 | |||
|
280 | 8 r4 | |||
|
281 | 9 | |||
|
282 | 10 r5 | |||
|
283 | 11 | |||
|
284 | 12 r6 | |||
|
285 | 13 | |||
|
286 | 14 r7 | |||
|
287 | 15 | |||
|
288 | 16 r8 | |||
|
289 | 17 | |||
|
290 | 18 r9 | |||
|
291 | 19 | |||
|
292 | 20 r10 | |||
|
293 | 21 | |||
|
294 | 22 r11 | |||
|
295 | 23 | |||
|
296 | $ cd .. | |||
60 |
|
297 | |||
61 | echo ---- command |
|
298 | command | |
62 |
|
299 | |||
63 | rm -rf repo |
|
300 | $ rm -rf repo | |
64 | hg init repo |
|
301 | $ hg init repo | |
65 | cd repo |
|
302 | $ cd repo | |
66 | hg debugbuilddag '+2 !"touch X" +2' -q -o |
|
303 | $ hg debugbuilddag '+2 !"touch X" +2' -q -o | |
67 | echo -- dag |
|
304 | dag | |
68 | hg debugdag -t -b |
|
305 | $ hg debugdag -t -b | |
69 | echo -- glog |
|
306 | +4:tip | |
70 | hg glog --template '{rev}: {desc} [{branches}]\n' |
|
307 | glog | |
71 | echo -- glog X |
|
308 | $ hg glog --template '{rev}: {desc} [{branches}]\n' | |
72 | hg glog --template '{rev}: {desc} [{branches}]\n' X |
|
309 | @ 3: r3 [] | |
73 | cd .. |
|
310 | | | |
74 |
|
311 | o 2: r2 [] | ||
|
312 | | | |||
|
313 | o 1: r1 [] | |||
|
314 | | | |||
|
315 | o 0: r0 [] | |||
|
316 | ||||
|
317 | glog X | |||
|
318 | $ hg glog --template '{rev}: {desc} [{branches}]\n' X | |||
|
319 | o 2: r2 [] | |||
|
320 | ||||
|
321 | $ cd .. |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now