Show More
@@ -11,11 +11,11 b'' | |||||
11 | > } |
|
11 | > } | |
12 | $ catlog() { |
|
12 | $ catlog() { | |
13 | > catpatch $1 |
|
13 | > catpatch $1 | |
14 | > hg log --template "{rev}: {desc} - {author}\n" |
|
14 | > hg log --template "{rev}: {node|short} {desc} - {author}\n" | |
15 | > } |
|
15 | > } | |
16 | $ catlogd() { |
|
16 | $ catlogd() { | |
17 | > catpatch $1 |
|
17 | > catpatch $1 | |
18 | > hg log --template "{rev}: {desc} - {author} - {date}\n" |
|
18 | > hg log --template "{rev}: {node|short} {desc} - {author} - {date}\n" | |
19 | > } |
|
19 | > } | |
20 | $ drop() { |
|
20 | $ drop() { | |
21 | > hg qpop |
|
21 | > hg qpop | |
@@ -189,7 +189,7 b'' | |||||
189 | > echo ==== "qpop -a / qpush -a" |
|
189 | > echo ==== "qpop -a / qpush -a" | |
190 | > hg qpop -a |
|
190 | > hg qpop -a | |
191 | > hg qpush -a |
|
191 | > hg qpush -a | |
192 | > hg log --template "{rev}: {desc} - {author} - {date}\n" |
|
192 | > hg log --template "{rev}: {node|short} {desc} - {author} - {date}\n" | |
193 | > } |
|
193 | > } | |
194 |
|
194 | |||
195 | ======= plain headers |
|
195 | ======= plain headers | |
@@ -202,7 +202,7 b'' | |||||
202 | ==== qnew -d |
|
202 | ==== qnew -d | |
203 | Date: 3 0 |
|
203 | Date: 3 0 | |
204 |
|
204 | |||
205 | 0: [mq]: 1.patch - test - 3.00 |
|
205 | 0: 758bd2596a39 [mq]: 1.patch - test - 3.00 | |
206 | ==== qref |
|
206 | ==== qref | |
207 | adding 1 |
|
207 | adding 1 | |
208 | Date: 3 0 |
|
208 | Date: 3 0 | |
@@ -212,7 +212,7 b'' | |||||
212 | +++ b/1 |
|
212 | +++ b/1 | |
213 | @@ -0,0 +1,1 @@ |
|
213 | @@ -0,0 +1,1 @@ | |
214 | +1 |
|
214 | +1 | |
215 | 0: [mq]: 1.patch - test - 3.00 |
|
215 | 0: 8c640e9949a8 [mq]: 1.patch - test - 3.00 | |
216 | ==== qref -d |
|
216 | ==== qref -d | |
217 | Date: 4 0 |
|
217 | Date: 4 0 | |
218 |
|
218 | |||
@@ -221,7 +221,7 b'' | |||||
221 | +++ b/1 |
|
221 | +++ b/1 | |
222 | @@ -0,0 +1,1 @@ |
|
222 | @@ -0,0 +1,1 @@ | |
223 | +1 |
|
223 | +1 | |
224 | 0: [mq]: 1.patch - test - 4.00 |
|
224 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
225 | ==== qnew |
|
225 | ==== qnew | |
226 | adding 2 |
|
226 | adding 2 | |
227 | diff -r ... 2 |
|
227 | diff -r ... 2 | |
@@ -229,8 +229,8 b'' | |||||
229 | +++ b/2 |
|
229 | +++ b/2 | |
230 | @@ -0,0 +1,1 @@ |
|
230 | @@ -0,0 +1,1 @@ | |
231 | +2 |
|
231 | +2 | |
232 | 1: [mq]: 2.patch - test |
|
232 | 1: fc7e8a2f6499 [mq]: 2.patch - test | |
233 | 0: [mq]: 1.patch - test |
|
233 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
234 | ==== qref -d |
|
234 | ==== qref -d | |
235 | Date: 5 0 |
|
235 | Date: 5 0 | |
236 |
|
236 | |||
@@ -239,8 +239,8 b'' | |||||
239 | +++ b/2 |
|
239 | +++ b/2 | |
240 | @@ -0,0 +1,1 @@ |
|
240 | @@ -0,0 +1,1 @@ | |
241 | +2 |
|
241 | +2 | |
242 | 1: [mq]: 2.patch - test |
|
242 | 1: 1d9a6a118fd1 [mq]: 2.patch - test | |
243 | 0: [mq]: 1.patch - test |
|
243 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
244 | popping 2.patch |
|
244 | popping 2.patch | |
245 | now at: 1.patch |
|
245 | now at: 1.patch | |
246 | ==== qnew -d -m |
|
246 | ==== qnew -d -m | |
@@ -248,8 +248,8 b'' | |||||
248 |
|
248 | |||
249 | Three |
|
249 | Three | |
250 |
|
250 | |||
251 | 1: Three - test - 6.00 |
|
251 | 1: 2a9ef0bdefba Three - test - 6.00 | |
252 | 0: [mq]: 1.patch - test - 4.00 |
|
252 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
253 | ==== qref |
|
253 | ==== qref | |
254 | adding 3 |
|
254 | adding 3 | |
255 | Date: 6 0 |
|
255 | Date: 6 0 | |
@@ -261,8 +261,8 b'' | |||||
261 | +++ b/3 |
|
261 | +++ b/3 | |
262 | @@ -0,0 +1,1 @@ |
|
262 | @@ -0,0 +1,1 @@ | |
263 | +3 |
|
263 | +3 | |
264 | 1: Three - test - 6.00 |
|
264 | 1: 7f19ad9eea7b Three - test - 6.00 | |
265 | 0: [mq]: 1.patch - test - 4.00 |
|
265 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
266 | ==== qref -m |
|
266 | ==== qref -m | |
267 | Date: 6 0 |
|
267 | Date: 6 0 | |
268 |
|
268 | |||
@@ -273,8 +273,8 b'' | |||||
273 | +++ b/3 |
|
273 | +++ b/3 | |
274 | @@ -0,0 +1,1 @@ |
|
274 | @@ -0,0 +1,1 @@ | |
275 | +3 |
|
275 | +3 | |
276 | 1: Drei - test - 6.00 |
|
276 | 1: 7ff7377793e3 Drei - test - 6.00 | |
277 | 0: [mq]: 1.patch - test - 4.00 |
|
277 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
278 | ==== qref -d |
|
278 | ==== qref -d | |
279 | Date: 7 0 |
|
279 | Date: 7 0 | |
280 |
|
280 | |||
@@ -285,8 +285,8 b'' | |||||
285 | +++ b/3 |
|
285 | +++ b/3 | |
286 | @@ -0,0 +1,1 @@ |
|
286 | @@ -0,0 +1,1 @@ | |
287 | +3 |
|
287 | +3 | |
288 | 1: Drei - test - 7.00 |
|
288 | 1: d89d3144f518 Drei - test - 7.00 | |
289 | 0: [mq]: 1.patch - test - 4.00 |
|
289 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
290 | ==== qref -d -m |
|
290 | ==== qref -d -m | |
291 | Date: 8 0 |
|
291 | Date: 8 0 | |
292 |
|
292 | |||
@@ -297,8 +297,8 b'' | |||||
297 | +++ b/3 |
|
297 | +++ b/3 | |
298 | @@ -0,0 +1,1 @@ |
|
298 | @@ -0,0 +1,1 @@ | |
299 | +3 |
|
299 | +3 | |
300 | 1: Three (again) - test - 8.00 |
|
300 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
301 | 0: [mq]: 1.patch - test - 4.00 |
|
301 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
302 | ==== qnew -m |
|
302 | ==== qnew -m | |
303 | adding 4 |
|
303 | adding 4 | |
304 | Four |
|
304 | Four | |
@@ -308,9 +308,9 b'' | |||||
308 | +++ b/4 |
|
308 | +++ b/4 | |
309 | @@ -0,0 +1,1 @@ |
|
309 | @@ -0,0 +1,1 @@ | |
310 | +4 |
|
310 | +4 | |
311 | 2: Four - test |
|
311 | 2: 74ded07d166b Four - test | |
312 | 1: Three (again) - test |
|
312 | 1: b1b6b0fe0e6d Three (again) - test | |
313 | 0: [mq]: 1.patch - test |
|
313 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
314 | ==== qref -d |
|
314 | ==== qref -d | |
315 | Date: 9 0 |
|
315 | Date: 9 0 | |
316 |
|
316 | |||
@@ -321,9 +321,9 b'' | |||||
321 | +++ b/4 |
|
321 | +++ b/4 | |
322 | @@ -0,0 +1,1 @@ |
|
322 | @@ -0,0 +1,1 @@ | |
323 | +4 |
|
323 | +4 | |
324 | 2: Four - test |
|
324 | 2: 1a651320cf8e Four - test | |
325 | 1: Three (again) - test |
|
325 | 1: b1b6b0fe0e6d Three (again) - test | |
326 | 0: [mq]: 1.patch - test |
|
326 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
327 | popping 4.patch |
|
327 | popping 4.patch | |
328 | now at: 3.patch |
|
328 | now at: 3.patch | |
329 | ==== qnew with HG header |
|
329 | ==== qnew with HG header | |
@@ -331,9 +331,9 b'' | |||||
331 | now at: 3.patch |
|
331 | now at: 3.patch | |
332 | # HG changeset patch |
|
332 | # HG changeset patch | |
333 | # Date 10 0 |
|
333 | # Date 10 0 | |
334 | 2: imported patch 5.patch - test - 10.00 |
|
334 | 2: d16a272220d2 imported patch 5.patch - test - 10.00 | |
335 | 1: Three (again) - test - 8.00 |
|
335 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
336 | 0: [mq]: 1.patch - test - 4.00 |
|
336 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
337 | ==== hg qref |
|
337 | ==== hg qref | |
338 | adding 5 |
|
338 | adding 5 | |
339 | # HG changeset patch |
|
339 | # HG changeset patch | |
@@ -345,9 +345,9 b'' | |||||
345 | +++ b/5 |
|
345 | +++ b/5 | |
346 | @@ -0,0 +1,1 @@ |
|
346 | @@ -0,0 +1,1 @@ | |
347 | +5 |
|
347 | +5 | |
348 | 2: [mq]: 5.patch - test - 10.00 |
|
348 | 2: 5dbf69c07df9 [mq]: 5.patch - test - 10.00 | |
349 | 1: Three (again) - test - 8.00 |
|
349 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
350 | 0: [mq]: 1.patch - test - 4.00 |
|
350 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
351 | ==== hg qref -d |
|
351 | ==== hg qref -d | |
352 | # HG changeset patch |
|
352 | # HG changeset patch | |
353 | # Date 11 0 |
|
353 | # Date 11 0 | |
@@ -358,19 +358,19 b'' | |||||
358 | +++ b/5 |
|
358 | +++ b/5 | |
359 | @@ -0,0 +1,1 @@ |
|
359 | @@ -0,0 +1,1 @@ | |
360 | +5 |
|
360 | +5 | |
361 | 2: [mq]: 5.patch - test - 11.00 |
|
361 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
362 | 1: Three (again) - test - 8.00 |
|
362 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
363 | 0: [mq]: 1.patch - test - 4.00 |
|
363 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
364 | ==== qnew with plain header |
|
364 | ==== qnew with plain header | |
365 | popping 6.patch |
|
365 | popping 6.patch | |
366 | now at: 5.patch |
|
366 | now at: 5.patch | |
367 | now at: 6.patch |
|
367 | now at: 6.patch | |
368 | Date: 12 0 |
|
368 | Date: 12 0 | |
369 |
|
369 | |||
370 | 3: imported patch 6.patch - test |
|
370 | 3: 8ad9ebc22b96 imported patch 6.patch - test | |
371 | 2: [mq]: 5.patch - test |
|
371 | 2: 049de6af0c1d [mq]: 5.patch - test | |
372 | 1: Three (again) - test |
|
372 | 1: b1b6b0fe0e6d Three (again) - test | |
373 | 0: [mq]: 1.patch - test |
|
373 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
374 | ==== hg qref |
|
374 | ==== hg qref | |
375 | adding 6 |
|
375 | adding 6 | |
376 | Date: 12 0 |
|
376 | Date: 12 0 | |
@@ -380,10 +380,10 b'' | |||||
380 | +++ b/6 |
|
380 | +++ b/6 | |
381 | @@ -0,0 +1,1 @@ |
|
381 | @@ -0,0 +1,1 @@ | |
382 | +6 |
|
382 | +6 | |
383 | 3: [mq]: 6.patch - test - 12.00 |
|
383 | 3: 038c46b02a56 [mq]: 6.patch - test - 12.00 | |
384 | 2: [mq]: 5.patch - test - 11.00 |
|
384 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
385 | 1: Three (again) - test - 8.00 |
|
385 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
386 | 0: [mq]: 1.patch - test - 4.00 |
|
386 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
387 | ==== hg qref -d |
|
387 | ==== hg qref -d | |
388 | Date: 13 0 |
|
388 | Date: 13 0 | |
389 |
|
389 | |||
@@ -392,10 +392,10 b'' | |||||
392 | +++ b/6 |
|
392 | +++ b/6 | |
393 | @@ -0,0 +1,1 @@ |
|
393 | @@ -0,0 +1,1 @@ | |
394 | +6 |
|
394 | +6 | |
395 | 3: [mq]: 6.patch - test - 13.00 |
|
395 | 3: 2785642ea4b4 [mq]: 6.patch - test - 13.00 | |
396 | 2: [mq]: 5.patch - test - 11.00 |
|
396 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
397 | 1: Three (again) - test - 8.00 |
|
397 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
398 | 0: [mq]: 1.patch - test - 4.00 |
|
398 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
399 | popping 6.patch |
|
399 | popping 6.patch | |
400 | now at: 5.patch |
|
400 | now at: 5.patch | |
401 | ==== qnew -u |
|
401 | ==== qnew -u | |
@@ -407,10 +407,10 b'' | |||||
407 | +++ b/6 |
|
407 | +++ b/6 | |
408 | @@ -0,0 +1,1 @@ |
|
408 | @@ -0,0 +1,1 @@ | |
409 | +6 |
|
409 | +6 | |
410 | 3: [mq]: 6.patch - jane |
|
410 | 3: a05a33f187ce [mq]: 6.patch - jane | |
411 | 2: [mq]: 5.patch - test |
|
411 | 2: 049de6af0c1d [mq]: 5.patch - test | |
412 | 1: Three (again) - test |
|
412 | 1: b1b6b0fe0e6d Three (again) - test | |
413 | 0: [mq]: 1.patch - test |
|
413 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
414 | ==== qref -d |
|
414 | ==== qref -d | |
415 | From: jane |
|
415 | From: jane | |
416 | Date: 12 0 |
|
416 | Date: 12 0 | |
@@ -420,10 +420,10 b'' | |||||
420 | +++ b/6 |
|
420 | +++ b/6 | |
421 | @@ -0,0 +1,1 @@ |
|
421 | @@ -0,0 +1,1 @@ | |
422 | +6 |
|
422 | +6 | |
423 | 3: [mq]: 6.patch - jane |
|
423 | 3: 5702c529dfe9 [mq]: 6.patch - jane | |
424 | 2: [mq]: 5.patch - test |
|
424 | 2: 049de6af0c1d [mq]: 5.patch - test | |
425 | 1: Three (again) - test |
|
425 | 1: b1b6b0fe0e6d Three (again) - test | |
426 | 0: [mq]: 1.patch - test |
|
426 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
427 | popping 6.patch |
|
427 | popping 6.patch | |
428 | now at: 5.patch |
|
428 | now at: 5.patch | |
429 | ==== qnew -d |
|
429 | ==== qnew -d | |
@@ -435,10 +435,10 b'' | |||||
435 | +++ b/7 |
|
435 | +++ b/7 | |
436 | @@ -0,0 +1,1 @@ |
|
436 | @@ -0,0 +1,1 @@ | |
437 | +7 |
|
437 | +7 | |
438 | 3: [mq]: 7.patch - test |
|
438 | 3: 8dd1eb8d4132 [mq]: 7.patch - test | |
439 | 2: [mq]: 5.patch - test |
|
439 | 2: 049de6af0c1d [mq]: 5.patch - test | |
440 | 1: Three (again) - test |
|
440 | 1: b1b6b0fe0e6d Three (again) - test | |
441 | 0: [mq]: 1.patch - test |
|
441 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
442 | ==== qref -u |
|
442 | ==== qref -u | |
443 | From: john |
|
443 | From: john | |
444 | Date: 13 0 |
|
444 | Date: 13 0 | |
@@ -448,10 +448,10 b'' | |||||
448 | +++ b/7 |
|
448 | +++ b/7 | |
449 | @@ -0,0 +1,1 @@ |
|
449 | @@ -0,0 +1,1 @@ | |
450 | +7 |
|
450 | +7 | |
451 | 3: [mq]: 7.patch - john - 13.00 |
|
451 | 3: 4f9d07369cc4 [mq]: 7.patch - john - 13.00 | |
452 | 2: [mq]: 5.patch - test - 11.00 |
|
452 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
453 | 1: Three (again) - test - 8.00 |
|
453 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
454 | 0: [mq]: 1.patch - test - 4.00 |
|
454 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
455 | ==== qnew |
|
455 | ==== qnew | |
456 | adding 8 |
|
456 | adding 8 | |
457 | diff -r ... 8 |
|
457 | diff -r ... 8 | |
@@ -459,11 +459,11 b'' | |||||
459 | +++ b/8 |
|
459 | +++ b/8 | |
460 | @@ -0,0 +1,1 @@ |
|
460 | @@ -0,0 +1,1 @@ | |
461 | +8 |
|
461 | +8 | |
462 | 4: [mq]: 8.patch - test |
|
462 | 4: 868b62f09492 [mq]: 8.patch - test | |
463 | 3: [mq]: 7.patch - john |
|
463 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
464 | 2: [mq]: 5.patch - test |
|
464 | 2: 049de6af0c1d [mq]: 5.patch - test | |
465 | 1: Three (again) - test |
|
465 | 1: b1b6b0fe0e6d Three (again) - test | |
466 | 0: [mq]: 1.patch - test |
|
466 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
467 | ==== qref -u -d |
|
467 | ==== qref -u -d | |
468 | From: john |
|
468 | From: john | |
469 | Date: 14 0 |
|
469 | Date: 14 0 | |
@@ -473,11 +473,11 b'' | |||||
473 | +++ b/8 |
|
473 | +++ b/8 | |
474 | @@ -0,0 +1,1 @@ |
|
474 | @@ -0,0 +1,1 @@ | |
475 | +8 |
|
475 | +8 | |
476 | 4: [mq]: 8.patch - john |
|
476 | 4: b1e878ae55b9 [mq]: 8.patch - john | |
477 | 3: [mq]: 7.patch - john |
|
477 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
478 | 2: [mq]: 5.patch - test |
|
478 | 2: 049de6af0c1d [mq]: 5.patch - test | |
479 | 1: Three (again) - test |
|
479 | 1: b1b6b0fe0e6d Three (again) - test | |
480 | 0: [mq]: 1.patch - test |
|
480 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
481 | popping 8.patch |
|
481 | popping 8.patch | |
482 | now at: 7.patch |
|
482 | now at: 7.patch | |
483 | ==== qnew -m |
|
483 | ==== qnew -m | |
@@ -489,11 +489,11 b'' | |||||
489 | +++ b/9 |
|
489 | +++ b/9 | |
490 | @@ -0,0 +1,1 @@ |
|
490 | @@ -0,0 +1,1 @@ | |
491 | +9 |
|
491 | +9 | |
492 | 4: Nine - test |
|
492 | 4: 7251936ac2bf Nine - test | |
493 | 3: [mq]: 7.patch - john |
|
493 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
494 | 2: [mq]: 5.patch - test |
|
494 | 2: 049de6af0c1d [mq]: 5.patch - test | |
495 | 1: Three (again) - test |
|
495 | 1: b1b6b0fe0e6d Three (again) - test | |
496 | 0: [mq]: 1.patch - test |
|
496 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
497 | ==== qref -u -d |
|
497 | ==== qref -u -d | |
498 | From: john |
|
498 | From: john | |
499 | Date: 15 0 |
|
499 | Date: 15 0 | |
@@ -505,11 +505,11 b'' | |||||
505 | +++ b/9 |
|
505 | +++ b/9 | |
506 | @@ -0,0 +1,1 @@ |
|
506 | @@ -0,0 +1,1 @@ | |
507 | +9 |
|
507 | +9 | |
508 | 4: Nine - john |
|
508 | 4: a0de5bf6e9f7 Nine - john | |
509 | 3: [mq]: 7.patch - john |
|
509 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
510 | 2: [mq]: 5.patch - test |
|
510 | 2: 049de6af0c1d [mq]: 5.patch - test | |
511 | 1: Three (again) - test |
|
511 | 1: b1b6b0fe0e6d Three (again) - test | |
512 | 0: [mq]: 1.patch - test |
|
512 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
513 | popping 9.patch |
|
513 | popping 9.patch | |
514 | now at: 7.patch |
|
514 | now at: 7.patch | |
515 | ==== qpop -a / qpush -a |
|
515 | ==== qpop -a / qpush -a | |
@@ -523,10 +523,10 b'' | |||||
523 | applying 5.patch |
|
523 | applying 5.patch | |
524 | applying 7.patch |
|
524 | applying 7.patch | |
525 | now at: 7.patch |
|
525 | now at: 7.patch | |
526 | 3: imported patch 7.patch - john - 13.00 |
|
526 | 3: d26a5b7ffce1 imported patch 7.patch - john - 13.00 | |
527 | 2: imported patch 5.patch - test - 11.00 |
|
527 | 2: dda6cf77060a imported patch 5.patch - test - 11.00 | |
528 | 1: Three (again) - test - 8.00 |
|
528 | 1: 25e32d66c8c7 Three (again) - test - 8.00 | |
529 | 0: imported patch 1.patch - test - 4.00 |
|
529 | 0: e5011c0211fe imported patch 1.patch - test - 4.00 | |
530 | $ rm -r sandbox |
|
530 | $ rm -r sandbox | |
531 |
|
531 | |||
532 | ======= hg headers |
|
532 | ======= hg headers | |
@@ -540,7 +540,7 b'' | |||||
540 | # Date 3 0 |
|
540 | # Date 3 0 | |
541 | # Parent |
|
541 | # Parent | |
542 |
|
542 | |||
543 | 0: [mq]: 1.patch - test - 3.00 |
|
543 | 0: 758bd2596a39 [mq]: 1.patch - test - 3.00 | |
544 | ==== qref |
|
544 | ==== qref | |
545 | adding 1 |
|
545 | adding 1 | |
546 | # HG changeset patch |
|
546 | # HG changeset patch | |
@@ -552,7 +552,7 b'' | |||||
552 | +++ b/1 |
|
552 | +++ b/1 | |
553 | @@ -0,0 +1,1 @@ |
|
553 | @@ -0,0 +1,1 @@ | |
554 | +1 |
|
554 | +1 | |
555 | 0: [mq]: 1.patch - test - 3.00 |
|
555 | 0: 8c640e9949a8 [mq]: 1.patch - test - 3.00 | |
556 | ==== qref -d |
|
556 | ==== qref -d | |
557 | # HG changeset patch |
|
557 | # HG changeset patch | |
558 | # Date 4 0 |
|
558 | # Date 4 0 | |
@@ -563,7 +563,7 b'' | |||||
563 | +++ b/1 |
|
563 | +++ b/1 | |
564 | @@ -0,0 +1,1 @@ |
|
564 | @@ -0,0 +1,1 @@ | |
565 | +1 |
|
565 | +1 | |
566 | 0: [mq]: 1.patch - test - 4.00 |
|
566 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
567 | ==== qnew |
|
567 | ==== qnew | |
568 | adding 2 |
|
568 | adding 2 | |
569 | # HG changeset patch |
|
569 | # HG changeset patch | |
@@ -574,8 +574,8 b'' | |||||
574 | +++ b/2 |
|
574 | +++ b/2 | |
575 | @@ -0,0 +1,1 @@ |
|
575 | @@ -0,0 +1,1 @@ | |
576 | +2 |
|
576 | +2 | |
577 | 1: [mq]: 2.patch - test |
|
577 | 1: fc7e8a2f6499 [mq]: 2.patch - test | |
578 | 0: [mq]: 1.patch - test |
|
578 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
579 | ==== qref -d |
|
579 | ==== qref -d | |
580 | # HG changeset patch |
|
580 | # HG changeset patch | |
581 | # Date 5 0 |
|
581 | # Date 5 0 | |
@@ -586,8 +586,8 b'' | |||||
586 | +++ b/2 |
|
586 | +++ b/2 | |
587 | @@ -0,0 +1,1 @@ |
|
587 | @@ -0,0 +1,1 @@ | |
588 | +2 |
|
588 | +2 | |
589 | 1: [mq]: 2.patch - test |
|
589 | 1: 1d9a6a118fd1 [mq]: 2.patch - test | |
590 | 0: [mq]: 1.patch - test |
|
590 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
591 | popping 2.patch |
|
591 | popping 2.patch | |
592 | now at: 1.patch |
|
592 | now at: 1.patch | |
593 | ==== qnew -d -m |
|
593 | ==== qnew -d -m | |
@@ -596,8 +596,8 b'' | |||||
596 | # Parent |
|
596 | # Parent | |
597 | Three |
|
597 | Three | |
598 |
|
598 | |||
599 | 1: Three - test - 6.00 |
|
599 | 1: 2a9ef0bdefba Three - test - 6.00 | |
600 | 0: [mq]: 1.patch - test - 4.00 |
|
600 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
601 | ==== qref |
|
601 | ==== qref | |
602 | adding 3 |
|
602 | adding 3 | |
603 | # HG changeset patch |
|
603 | # HG changeset patch | |
@@ -610,8 +610,8 b'' | |||||
610 | +++ b/3 |
|
610 | +++ b/3 | |
611 | @@ -0,0 +1,1 @@ |
|
611 | @@ -0,0 +1,1 @@ | |
612 | +3 |
|
612 | +3 | |
613 | 1: Three - test - 6.00 |
|
613 | 1: 7f19ad9eea7b Three - test - 6.00 | |
614 | 0: [mq]: 1.patch - test - 4.00 |
|
614 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
615 | ==== qref -m |
|
615 | ==== qref -m | |
616 | # HG changeset patch |
|
616 | # HG changeset patch | |
617 | # Date 6 0 |
|
617 | # Date 6 0 | |
@@ -623,8 +623,8 b'' | |||||
623 | +++ b/3 |
|
623 | +++ b/3 | |
624 | @@ -0,0 +1,1 @@ |
|
624 | @@ -0,0 +1,1 @@ | |
625 | +3 |
|
625 | +3 | |
626 | 1: Drei - test - 6.00 |
|
626 | 1: 7ff7377793e3 Drei - test - 6.00 | |
627 | 0: [mq]: 1.patch - test - 4.00 |
|
627 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
628 | ==== qref -d |
|
628 | ==== qref -d | |
629 | # HG changeset patch |
|
629 | # HG changeset patch | |
630 | # Date 7 0 |
|
630 | # Date 7 0 | |
@@ -636,8 +636,8 b'' | |||||
636 | +++ b/3 |
|
636 | +++ b/3 | |
637 | @@ -0,0 +1,1 @@ |
|
637 | @@ -0,0 +1,1 @@ | |
638 | +3 |
|
638 | +3 | |
639 | 1: Drei - test - 7.00 |
|
639 | 1: d89d3144f518 Drei - test - 7.00 | |
640 | 0: [mq]: 1.patch - test - 4.00 |
|
640 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
641 | ==== qref -d -m |
|
641 | ==== qref -d -m | |
642 | # HG changeset patch |
|
642 | # HG changeset patch | |
643 | # Date 8 0 |
|
643 | # Date 8 0 | |
@@ -649,8 +649,8 b'' | |||||
649 | +++ b/3 |
|
649 | +++ b/3 | |
650 | @@ -0,0 +1,1 @@ |
|
650 | @@ -0,0 +1,1 @@ | |
651 | +3 |
|
651 | +3 | |
652 | 1: Three (again) - test - 8.00 |
|
652 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
653 | 0: [mq]: 1.patch - test - 4.00 |
|
653 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
654 | ==== qnew -m |
|
654 | ==== qnew -m | |
655 | adding 4 |
|
655 | adding 4 | |
656 | # HG changeset patch |
|
656 | # HG changeset patch | |
@@ -662,9 +662,9 b'' | |||||
662 | +++ b/4 |
|
662 | +++ b/4 | |
663 | @@ -0,0 +1,1 @@ |
|
663 | @@ -0,0 +1,1 @@ | |
664 | +4 |
|
664 | +4 | |
665 | 2: Four - test |
|
665 | 2: 74ded07d166b Four - test | |
666 | 1: Three (again) - test |
|
666 | 1: b1b6b0fe0e6d Three (again) - test | |
667 | 0: [mq]: 1.patch - test |
|
667 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
668 | ==== qref -d |
|
668 | ==== qref -d | |
669 | # HG changeset patch |
|
669 | # HG changeset patch | |
670 | # Date 9 0 |
|
670 | # Date 9 0 | |
@@ -676,9 +676,9 b'' | |||||
676 | +++ b/4 |
|
676 | +++ b/4 | |
677 | @@ -0,0 +1,1 @@ |
|
677 | @@ -0,0 +1,1 @@ | |
678 | +4 |
|
678 | +4 | |
679 | 2: Four - test |
|
679 | 2: 1a651320cf8e Four - test | |
680 | 1: Three (again) - test |
|
680 | 1: b1b6b0fe0e6d Three (again) - test | |
681 | 0: [mq]: 1.patch - test |
|
681 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
682 | popping 4.patch |
|
682 | popping 4.patch | |
683 | now at: 3.patch |
|
683 | now at: 3.patch | |
684 | ==== qnew with HG header |
|
684 | ==== qnew with HG header | |
@@ -686,9 +686,9 b'' | |||||
686 | now at: 3.patch |
|
686 | now at: 3.patch | |
687 | # HG changeset patch |
|
687 | # HG changeset patch | |
688 | # Date 10 0 |
|
688 | # Date 10 0 | |
689 | 2: imported patch 5.patch - test - 10.00 |
|
689 | 2: d16a272220d2 imported patch 5.patch - test - 10.00 | |
690 | 1: Three (again) - test - 8.00 |
|
690 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
691 | 0: [mq]: 1.patch - test - 4.00 |
|
691 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
692 | ==== hg qref |
|
692 | ==== hg qref | |
693 | adding 5 |
|
693 | adding 5 | |
694 | # HG changeset patch |
|
694 | # HG changeset patch | |
@@ -700,9 +700,9 b'' | |||||
700 | +++ b/5 |
|
700 | +++ b/5 | |
701 | @@ -0,0 +1,1 @@ |
|
701 | @@ -0,0 +1,1 @@ | |
702 | +5 |
|
702 | +5 | |
703 | 2: [mq]: 5.patch - test - 10.00 |
|
703 | 2: 5dbf69c07df9 [mq]: 5.patch - test - 10.00 | |
704 | 1: Three (again) - test - 8.00 |
|
704 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
705 | 0: [mq]: 1.patch - test - 4.00 |
|
705 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
706 | ==== hg qref -d |
|
706 | ==== hg qref -d | |
707 | # HG changeset patch |
|
707 | # HG changeset patch | |
708 | # Date 11 0 |
|
708 | # Date 11 0 | |
@@ -713,19 +713,19 b'' | |||||
713 | +++ b/5 |
|
713 | +++ b/5 | |
714 | @@ -0,0 +1,1 @@ |
|
714 | @@ -0,0 +1,1 @@ | |
715 | +5 |
|
715 | +5 | |
716 | 2: [mq]: 5.patch - test - 11.00 |
|
716 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
717 | 1: Three (again) - test - 8.00 |
|
717 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
718 | 0: [mq]: 1.patch - test - 4.00 |
|
718 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
719 | ==== qnew with plain header |
|
719 | ==== qnew with plain header | |
720 | popping 6.patch |
|
720 | popping 6.patch | |
721 | now at: 5.patch |
|
721 | now at: 5.patch | |
722 | now at: 6.patch |
|
722 | now at: 6.patch | |
723 | Date: 12 0 |
|
723 | Date: 12 0 | |
724 |
|
724 | |||
725 | 3: imported patch 6.patch - test |
|
725 | 3: 8ad9ebc22b96 imported patch 6.patch - test | |
726 | 2: [mq]: 5.patch - test |
|
726 | 2: 049de6af0c1d [mq]: 5.patch - test | |
727 | 1: Three (again) - test |
|
727 | 1: b1b6b0fe0e6d Three (again) - test | |
728 | 0: [mq]: 1.patch - test |
|
728 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
729 | ==== hg qref |
|
729 | ==== hg qref | |
730 | adding 6 |
|
730 | adding 6 | |
731 | Date: 12 0 |
|
731 | Date: 12 0 | |
@@ -735,10 +735,10 b'' | |||||
735 | +++ b/6 |
|
735 | +++ b/6 | |
736 | @@ -0,0 +1,1 @@ |
|
736 | @@ -0,0 +1,1 @@ | |
737 | +6 |
|
737 | +6 | |
738 | 3: [mq]: 6.patch - test - 12.00 |
|
738 | 3: 038c46b02a56 [mq]: 6.patch - test - 12.00 | |
739 | 2: [mq]: 5.patch - test - 11.00 |
|
739 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
740 | 1: Three (again) - test - 8.00 |
|
740 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
741 | 0: [mq]: 1.patch - test - 4.00 |
|
741 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
742 | ==== hg qref -d |
|
742 | ==== hg qref -d | |
743 | Date: 13 0 |
|
743 | Date: 13 0 | |
744 |
|
744 | |||
@@ -747,10 +747,10 b'' | |||||
747 | +++ b/6 |
|
747 | +++ b/6 | |
748 | @@ -0,0 +1,1 @@ |
|
748 | @@ -0,0 +1,1 @@ | |
749 | +6 |
|
749 | +6 | |
750 | 3: [mq]: 6.patch - test - 13.00 |
|
750 | 3: 2785642ea4b4 [mq]: 6.patch - test - 13.00 | |
751 | 2: [mq]: 5.patch - test - 11.00 |
|
751 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
752 | 1: Three (again) - test - 8.00 |
|
752 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
753 | 0: [mq]: 1.patch - test - 4.00 |
|
753 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
754 | popping 6.patch |
|
754 | popping 6.patch | |
755 | now at: 5.patch |
|
755 | now at: 5.patch | |
756 | ==== qnew -u |
|
756 | ==== qnew -u | |
@@ -764,10 +764,10 b'' | |||||
764 | +++ b/6 |
|
764 | +++ b/6 | |
765 | @@ -0,0 +1,1 @@ |
|
765 | @@ -0,0 +1,1 @@ | |
766 | +6 |
|
766 | +6 | |
767 | 3: [mq]: 6.patch - jane |
|
767 | 3: a05a33f187ce [mq]: 6.patch - jane | |
768 | 2: [mq]: 5.patch - test |
|
768 | 2: 049de6af0c1d [mq]: 5.patch - test | |
769 | 1: Three (again) - test |
|
769 | 1: b1b6b0fe0e6d Three (again) - test | |
770 | 0: [mq]: 1.patch - test |
|
770 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
771 | ==== qref -d |
|
771 | ==== qref -d | |
772 | # HG changeset patch |
|
772 | # HG changeset patch | |
773 | # User jane |
|
773 | # User jane | |
@@ -779,10 +779,10 b'' | |||||
779 | +++ b/6 |
|
779 | +++ b/6 | |
780 | @@ -0,0 +1,1 @@ |
|
780 | @@ -0,0 +1,1 @@ | |
781 | +6 |
|
781 | +6 | |
782 | 3: [mq]: 6.patch - jane |
|
782 | 3: 5702c529dfe9 [mq]: 6.patch - jane | |
783 | 2: [mq]: 5.patch - test |
|
783 | 2: 049de6af0c1d [mq]: 5.patch - test | |
784 | 1: Three (again) - test |
|
784 | 1: b1b6b0fe0e6d Three (again) - test | |
785 | 0: [mq]: 1.patch - test |
|
785 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
786 | popping 6.patch |
|
786 | popping 6.patch | |
787 | now at: 5.patch |
|
787 | now at: 5.patch | |
788 | ==== qnew -d |
|
788 | ==== qnew -d | |
@@ -796,10 +796,10 b'' | |||||
796 | +++ b/7 |
|
796 | +++ b/7 | |
797 | @@ -0,0 +1,1 @@ |
|
797 | @@ -0,0 +1,1 @@ | |
798 | +7 |
|
798 | +7 | |
799 | 3: [mq]: 7.patch - test |
|
799 | 3: 8dd1eb8d4132 [mq]: 7.patch - test | |
800 | 2: [mq]: 5.patch - test |
|
800 | 2: 049de6af0c1d [mq]: 5.patch - test | |
801 | 1: Three (again) - test |
|
801 | 1: b1b6b0fe0e6d Three (again) - test | |
802 | 0: [mq]: 1.patch - test |
|
802 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
803 | ==== qref -u |
|
803 | ==== qref -u | |
804 | # HG changeset patch |
|
804 | # HG changeset patch | |
805 | # User john |
|
805 | # User john | |
@@ -811,10 +811,10 b'' | |||||
811 | +++ b/7 |
|
811 | +++ b/7 | |
812 | @@ -0,0 +1,1 @@ |
|
812 | @@ -0,0 +1,1 @@ | |
813 | +7 |
|
813 | +7 | |
814 | 3: [mq]: 7.patch - john - 13.00 |
|
814 | 3: 4f9d07369cc4 [mq]: 7.patch - john - 13.00 | |
815 | 2: [mq]: 5.patch - test - 11.00 |
|
815 | 2: 049de6af0c1d [mq]: 5.patch - test - 11.00 | |
816 | 1: Three (again) - test - 8.00 |
|
816 | 1: b1b6b0fe0e6d Three (again) - test - 8.00 | |
817 | 0: [mq]: 1.patch - test - 4.00 |
|
817 | 0: 4a67dfeea974 [mq]: 1.patch - test - 4.00 | |
818 | ==== qnew |
|
818 | ==== qnew | |
819 | adding 8 |
|
819 | adding 8 | |
820 | # HG changeset patch |
|
820 | # HG changeset patch | |
@@ -825,11 +825,11 b'' | |||||
825 | +++ b/8 |
|
825 | +++ b/8 | |
826 | @@ -0,0 +1,1 @@ |
|
826 | @@ -0,0 +1,1 @@ | |
827 | +8 |
|
827 | +8 | |
828 | 4: [mq]: 8.patch - test |
|
828 | 4: 868b62f09492 [mq]: 8.patch - test | |
829 | 3: [mq]: 7.patch - john |
|
829 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
830 | 2: [mq]: 5.patch - test |
|
830 | 2: 049de6af0c1d [mq]: 5.patch - test | |
831 | 1: Three (again) - test |
|
831 | 1: b1b6b0fe0e6d Three (again) - test | |
832 | 0: [mq]: 1.patch - test |
|
832 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
833 | ==== qref -u -d |
|
833 | ==== qref -u -d | |
834 | # HG changeset patch |
|
834 | # HG changeset patch | |
835 | # User john |
|
835 | # User john | |
@@ -841,11 +841,11 b'' | |||||
841 | +++ b/8 |
|
841 | +++ b/8 | |
842 | @@ -0,0 +1,1 @@ |
|
842 | @@ -0,0 +1,1 @@ | |
843 | +8 |
|
843 | +8 | |
844 | 4: [mq]: 8.patch - john |
|
844 | 4: b1e878ae55b9 [mq]: 8.patch - john | |
845 | 3: [mq]: 7.patch - john |
|
845 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
846 | 2: [mq]: 5.patch - test |
|
846 | 2: 049de6af0c1d [mq]: 5.patch - test | |
847 | 1: Three (again) - test |
|
847 | 1: b1b6b0fe0e6d Three (again) - test | |
848 | 0: [mq]: 1.patch - test |
|
848 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
849 | popping 8.patch |
|
849 | popping 8.patch | |
850 | now at: 7.patch |
|
850 | now at: 7.patch | |
851 | ==== qnew -m |
|
851 | ==== qnew -m | |
@@ -859,11 +859,11 b'' | |||||
859 | +++ b/9 |
|
859 | +++ b/9 | |
860 | @@ -0,0 +1,1 @@ |
|
860 | @@ -0,0 +1,1 @@ | |
861 | +9 |
|
861 | +9 | |
862 | 4: Nine - test |
|
862 | 4: 7251936ac2bf Nine - test | |
863 | 3: [mq]: 7.patch - john |
|
863 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
864 | 2: [mq]: 5.patch - test |
|
864 | 2: 049de6af0c1d [mq]: 5.patch - test | |
865 | 1: Three (again) - test |
|
865 | 1: b1b6b0fe0e6d Three (again) - test | |
866 | 0: [mq]: 1.patch - test |
|
866 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
867 | ==== qref -u -d |
|
867 | ==== qref -u -d | |
868 | # HG changeset patch |
|
868 | # HG changeset patch | |
869 | # User john |
|
869 | # User john | |
@@ -876,11 +876,11 b'' | |||||
876 | +++ b/9 |
|
876 | +++ b/9 | |
877 | @@ -0,0 +1,1 @@ |
|
877 | @@ -0,0 +1,1 @@ | |
878 | +9 |
|
878 | +9 | |
879 | 4: Nine - john |
|
879 | 4: a0de5bf6e9f7 Nine - john | |
880 | 3: [mq]: 7.patch - john |
|
880 | 3: 4f9d07369cc4 [mq]: 7.patch - john | |
881 | 2: [mq]: 5.patch - test |
|
881 | 2: 049de6af0c1d [mq]: 5.patch - test | |
882 | 1: Three (again) - test |
|
882 | 1: b1b6b0fe0e6d Three (again) - test | |
883 | 0: [mq]: 1.patch - test |
|
883 | 0: 4a67dfeea974 [mq]: 1.patch - test | |
884 | popping 9.patch |
|
884 | popping 9.patch | |
885 | now at: 7.patch |
|
885 | now at: 7.patch | |
886 | ==== qpop -a / qpush -a |
|
886 | ==== qpop -a / qpush -a | |
@@ -894,8 +894,8 b'' | |||||
894 | applying 5.patch |
|
894 | applying 5.patch | |
895 | applying 7.patch |
|
895 | applying 7.patch | |
896 | now at: 7.patch |
|
896 | now at: 7.patch | |
897 | 3: imported patch 7.patch - john - 13.00 |
|
897 | 3: d26a5b7ffce1 imported patch 7.patch - john - 13.00 | |
898 | 2: imported patch 5.patch - test - 11.00 |
|
898 | 2: dda6cf77060a imported patch 5.patch - test - 11.00 | |
899 | 1: Three (again) - test - 8.00 |
|
899 | 1: 25e32d66c8c7 Three (again) - test - 8.00 | |
900 | 0: imported patch 1.patch - test - 4.00 |
|
900 | 0: e5011c0211fe imported patch 1.patch - test - 4.00 | |
901 | $ rm -r sandbox |
|
901 | $ rm -r sandbox |
@@ -6,7 +6,7 b'' | |||||
6 | $ catlog() { |
|
6 | $ catlog() { | |
7 | > cat .hg/patches/$1.patch | sed -e "s/^diff \-r [0-9a-f]* /diff -r ... /" \ |
|
7 | > cat .hg/patches/$1.patch | sed -e "s/^diff \-r [0-9a-f]* /diff -r ... /" \ | |
8 | > -e "s/^\(# Parent \).*/\1/" |
|
8 | > -e "s/^\(# Parent \).*/\1/" | |
9 | > hg log --template "{rev}: {desc} - {author}\n" |
|
9 | > hg log --template "{rev}: {node|short} {desc} - {author}\n" | |
10 | > } |
|
10 | > } | |
11 | $ runtest() { |
|
11 | $ runtest() { | |
12 | > echo ==== init |
|
12 | > echo ==== init | |
@@ -122,7 +122,7 b'' | |||||
122 | > echo ==== "qpop -a / qpush -a" |
|
122 | > echo ==== "qpop -a / qpush -a" | |
123 | > hg qpop -a |
|
123 | > hg qpop -a | |
124 | > hg qpush -a |
|
124 | > hg qpush -a | |
125 | > hg log --template "{rev}: {desc} - {author}\n" |
|
125 | > hg log --template "{rev}: {node|short} {desc} - {author}\n" | |
126 | > } |
|
126 | > } | |
127 |
|
127 | |||
128 | ======= plain headers |
|
128 | ======= plain headers | |
@@ -135,7 +135,7 b'' | |||||
135 | ==== qnew -U |
|
135 | ==== qnew -U | |
136 | From: test |
|
136 | From: test | |
137 |
|
137 | |||
138 | 0: [mq]: 1.patch - test |
|
138 | 0: a054644889e5 [mq]: 1.patch - test | |
139 | ==== qref |
|
139 | ==== qref | |
140 | adding 1 |
|
140 | adding 1 | |
141 | From: test |
|
141 | From: test | |
@@ -145,7 +145,7 b'' | |||||
145 | +++ b/1 |
|
145 | +++ b/1 | |
146 | @@ -0,0 +1,1 @@ |
|
146 | @@ -0,0 +1,1 @@ | |
147 | +1 |
|
147 | +1 | |
148 | 0: [mq]: 1.patch - test |
|
148 | 0: 2905f1e46ee0 [mq]: 1.patch - test | |
149 | ==== qref -u |
|
149 | ==== qref -u | |
150 | From: mary |
|
150 | From: mary | |
151 |
|
151 | |||
@@ -154,7 +154,7 b'' | |||||
154 | +++ b/1 |
|
154 | +++ b/1 | |
155 | @@ -0,0 +1,1 @@ |
|
155 | @@ -0,0 +1,1 @@ | |
156 | +1 |
|
156 | +1 | |
157 | 0: [mq]: 1.patch - mary |
|
157 | 0: 3682f830e656 [mq]: 1.patch - mary | |
158 | ==== qnew |
|
158 | ==== qnew | |
159 | adding 2 |
|
159 | adding 2 | |
160 | diff -r ... 2 |
|
160 | diff -r ... 2 | |
@@ -162,8 +162,8 b'' | |||||
162 | +++ b/2 |
|
162 | +++ b/2 | |
163 | @@ -0,0 +1,1 @@ |
|
163 | @@ -0,0 +1,1 @@ | |
164 | +2 |
|
164 | +2 | |
165 | 1: [mq]: 2.patch - test |
|
165 | 1: 527f98a12a7a [mq]: 2.patch - test | |
166 | 0: [mq]: 1.patch - mary |
|
166 | 0: 3682f830e656 [mq]: 1.patch - mary | |
167 | ==== qref -u |
|
167 | ==== qref -u | |
168 | From: jane |
|
168 | From: jane | |
169 |
|
169 | |||
@@ -172,16 +172,16 b'' | |||||
172 | +++ b/2 |
|
172 | +++ b/2 | |
173 | @@ -0,0 +1,1 @@ |
|
173 | @@ -0,0 +1,1 @@ | |
174 | +2 |
|
174 | +2 | |
175 | 1: [mq]: 2.patch - jane |
|
175 | 1: a425cde5f493 [mq]: 2.patch - jane | |
176 | 0: [mq]: 1.patch - mary |
|
176 | 0: 3682f830e656 [mq]: 1.patch - mary | |
177 | ==== qnew -U -m |
|
177 | ==== qnew -U -m | |
178 | From: test |
|
178 | From: test | |
179 |
|
179 | |||
180 | Three |
|
180 | Three | |
181 |
|
181 | |||
182 | 2: Three - test |
|
182 | 2: 0ffa16a9088e Three - test | |
183 | 1: [mq]: 2.patch - jane |
|
183 | 1: a425cde5f493 [mq]: 2.patch - jane | |
184 | 0: [mq]: 1.patch - mary |
|
184 | 0: 3682f830e656 [mq]: 1.patch - mary | |
185 | ==== qref |
|
185 | ==== qref | |
186 | adding 3 |
|
186 | adding 3 | |
187 | From: test |
|
187 | From: test | |
@@ -193,9 +193,9 b'' | |||||
193 | +++ b/3 |
|
193 | +++ b/3 | |
194 | @@ -0,0 +1,1 @@ |
|
194 | @@ -0,0 +1,1 @@ | |
195 | +3 |
|
195 | +3 | |
196 | 2: Three - test |
|
196 | 2: 83f1290c6086 Three - test | |
197 | 1: [mq]: 2.patch - jane |
|
197 | 1: a425cde5f493 [mq]: 2.patch - jane | |
198 | 0: [mq]: 1.patch - mary |
|
198 | 0: 3682f830e656 [mq]: 1.patch - mary | |
199 | ==== qref -m |
|
199 | ==== qref -m | |
200 | From: test |
|
200 | From: test | |
201 |
|
201 | |||
@@ -206,9 +206,9 b'' | |||||
206 | +++ b/3 |
|
206 | +++ b/3 | |
207 | @@ -0,0 +1,1 @@ |
|
207 | @@ -0,0 +1,1 @@ | |
208 | +3 |
|
208 | +3 | |
209 | 2: Drei - test |
|
209 | 2: b0d856328d4d Drei - test | |
210 | 1: [mq]: 2.patch - jane |
|
210 | 1: a425cde5f493 [mq]: 2.patch - jane | |
211 | 0: [mq]: 1.patch - mary |
|
211 | 0: 3682f830e656 [mq]: 1.patch - mary | |
212 | ==== qref -u |
|
212 | ==== qref -u | |
213 | From: mary |
|
213 | From: mary | |
214 |
|
214 | |||
@@ -219,9 +219,9 b'' | |||||
219 | +++ b/3 |
|
219 | +++ b/3 | |
220 | @@ -0,0 +1,1 @@ |
|
220 | @@ -0,0 +1,1 @@ | |
221 | +3 |
|
221 | +3 | |
222 | 2: Drei - mary |
|
222 | 2: bb9d4b28e6a6 Drei - mary | |
223 | 1: [mq]: 2.patch - jane |
|
223 | 1: a425cde5f493 [mq]: 2.patch - jane | |
224 | 0: [mq]: 1.patch - mary |
|
224 | 0: 3682f830e656 [mq]: 1.patch - mary | |
225 | ==== qref -u -m |
|
225 | ==== qref -u -m | |
226 | From: maria |
|
226 | From: maria | |
227 |
|
227 | |||
@@ -232,9 +232,9 b'' | |||||
232 | +++ b/3 |
|
232 | +++ b/3 | |
233 | @@ -0,0 +1,1 @@ |
|
233 | @@ -0,0 +1,1 @@ | |
234 | +3 |
|
234 | +3 | |
235 | 2: Three (again) - maria |
|
235 | 2: a6686ee84fc3 Three (again) - maria | |
236 | 1: [mq]: 2.patch - jane |
|
236 | 1: a425cde5f493 [mq]: 2.patch - jane | |
237 | 0: [mq]: 1.patch - mary |
|
237 | 0: 3682f830e656 [mq]: 1.patch - mary | |
238 | ==== qnew -m |
|
238 | ==== qnew -m | |
239 | adding 4of |
|
239 | adding 4of | |
240 | Four |
|
240 | Four | |
@@ -244,10 +244,10 b'' | |||||
244 | +++ b/4of |
|
244 | +++ b/4of | |
245 | @@ -0,0 +1,1 @@ |
|
245 | @@ -0,0 +1,1 @@ | |
246 | +4 t |
|
246 | +4 t | |
247 | 3: Four - test |
|
247 | 3: b9f922d0da40 Four - test | |
248 | 2: Three (again) - maria |
|
248 | 2: a6686ee84fc3 Three (again) - maria | |
249 | 1: [mq]: 2.patch - jane |
|
249 | 1: a425cde5f493 [mq]: 2.patch - jane | |
250 | 0: [mq]: 1.patch - mary |
|
250 | 0: 3682f830e656 [mq]: 1.patch - mary | |
251 | ==== qref -u |
|
251 | ==== qref -u | |
252 | From: jane |
|
252 | From: jane | |
253 |
|
253 | |||
@@ -258,21 +258,21 b'' | |||||
258 | +++ b/4of |
|
258 | +++ b/4of | |
259 | @@ -0,0 +1,1 @@ |
|
259 | @@ -0,0 +1,1 @@ | |
260 | +4 t |
|
260 | +4 t | |
261 | 3: Four - jane |
|
261 | 3: 0dfb3111e7ee Four - jane | |
262 | 2: Three (again) - maria |
|
262 | 2: a6686ee84fc3 Three (again) - maria | |
263 | 1: [mq]: 2.patch - jane |
|
263 | 1: a425cde5f493 [mq]: 2.patch - jane | |
264 | 0: [mq]: 1.patch - mary |
|
264 | 0: 3682f830e656 [mq]: 1.patch - mary | |
265 | ==== qnew with HG header |
|
265 | ==== qnew with HG header | |
266 | popping 5.patch |
|
266 | popping 5.patch | |
267 | now at: 4.patch |
|
267 | now at: 4.patch | |
268 | now at: 5.patch |
|
268 | now at: 5.patch | |
269 | # HG changeset patch |
|
269 | # HG changeset patch | |
270 | # User johndoe |
|
270 | # User johndoe | |
271 | 4: imported patch 5.patch - johndoe |
|
271 | 4: 72bc4a0467ef imported patch 5.patch - johndoe | |
272 | 3: Four - jane |
|
272 | 3: 0dfb3111e7ee Four - jane | |
273 | 2: Three (again) - maria |
|
273 | 2: a6686ee84fc3 Three (again) - maria | |
274 | 1: [mq]: 2.patch - jane |
|
274 | 1: a425cde5f493 [mq]: 2.patch - jane | |
275 | 0: [mq]: 1.patch - mary |
|
275 | 0: 3682f830e656 [mq]: 1.patch - mary | |
276 | ==== hg qref |
|
276 | ==== hg qref | |
277 | adding 5 |
|
277 | adding 5 | |
278 | # HG changeset patch |
|
278 | # HG changeset patch | |
@@ -284,11 +284,11 b'' | |||||
284 | +++ b/5 |
|
284 | +++ b/5 | |
285 | @@ -0,0 +1,1 @@ |
|
285 | @@ -0,0 +1,1 @@ | |
286 | +5 |
|
286 | +5 | |
287 | 4: [mq]: 5.patch - johndoe |
|
287 | 4: ff5c06112e5a [mq]: 5.patch - johndoe | |
288 | 3: Four - jane |
|
288 | 3: 0dfb3111e7ee Four - jane | |
289 | 2: Three (again) - maria |
|
289 | 2: a6686ee84fc3 Three (again) - maria | |
290 | 1: [mq]: 2.patch - jane |
|
290 | 1: a425cde5f493 [mq]: 2.patch - jane | |
291 | 0: [mq]: 1.patch - mary |
|
291 | 0: 3682f830e656 [mq]: 1.patch - mary | |
292 | ==== hg qref -U |
|
292 | ==== hg qref -U | |
293 | # HG changeset patch |
|
293 | # HG changeset patch | |
294 | # User test |
|
294 | # User test | |
@@ -299,11 +299,11 b'' | |||||
299 | +++ b/5 |
|
299 | +++ b/5 | |
300 | @@ -0,0 +1,1 @@ |
|
300 | @@ -0,0 +1,1 @@ | |
301 | +5 |
|
301 | +5 | |
302 | 4: [mq]: 5.patch - test |
|
302 | 4: c947416c22b1 [mq]: 5.patch - test | |
303 | 3: Four - jane |
|
303 | 3: 0dfb3111e7ee Four - jane | |
304 | 2: Three (again) - maria |
|
304 | 2: a6686ee84fc3 Three (again) - maria | |
305 | 1: [mq]: 2.patch - jane |
|
305 | 1: a425cde5f493 [mq]: 2.patch - jane | |
306 | 0: [mq]: 1.patch - mary |
|
306 | 0: 3682f830e656 [mq]: 1.patch - mary | |
307 | ==== hg qref -u |
|
307 | ==== hg qref -u | |
308 | # HG changeset patch |
|
308 | # HG changeset patch | |
309 | # User johndeere |
|
309 | # User johndeere | |
@@ -314,23 +314,23 b'' | |||||
314 | +++ b/5 |
|
314 | +++ b/5 | |
315 | @@ -0,0 +1,1 @@ |
|
315 | @@ -0,0 +1,1 @@ | |
316 | +5 |
|
316 | +5 | |
317 | 4: [mq]: 5.patch - johndeere |
|
317 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
318 | 3: Four - jane |
|
318 | 3: 0dfb3111e7ee Four - jane | |
319 | 2: Three (again) - maria |
|
319 | 2: a6686ee84fc3 Three (again) - maria | |
320 | 1: [mq]: 2.patch - jane |
|
320 | 1: a425cde5f493 [mq]: 2.patch - jane | |
321 | 0: [mq]: 1.patch - mary |
|
321 | 0: 3682f830e656 [mq]: 1.patch - mary | |
322 | ==== qnew with plain header |
|
322 | ==== qnew with plain header | |
323 | popping 6.patch |
|
323 | popping 6.patch | |
324 | now at: 5.patch |
|
324 | now at: 5.patch | |
325 | now at: 6.patch |
|
325 | now at: 6.patch | |
326 | From: test |
|
326 | From: test | |
327 |
|
327 | |||
328 | 5: imported patch 6.patch - test |
|
328 | 5: 7825a18ec839 imported patch 6.patch - test | |
329 | 4: [mq]: 5.patch - johndeere |
|
329 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
330 | 3: Four - jane |
|
330 | 3: 0dfb3111e7ee Four - jane | |
331 | 2: Three (again) - maria |
|
331 | 2: a6686ee84fc3 Three (again) - maria | |
332 | 1: [mq]: 2.patch - jane |
|
332 | 1: a425cde5f493 [mq]: 2.patch - jane | |
333 | 0: [mq]: 1.patch - mary |
|
333 | 0: 3682f830e656 [mq]: 1.patch - mary | |
334 | ==== hg qref |
|
334 | ==== hg qref | |
335 | adding 6 |
|
335 | adding 6 | |
336 | From: test |
|
336 | From: test | |
@@ -340,12 +340,12 b'' | |||||
340 | +++ b/6 |
|
340 | +++ b/6 | |
341 | @@ -0,0 +1,1 @@ |
|
341 | @@ -0,0 +1,1 @@ | |
342 | +6 |
|
342 | +6 | |
343 | 5: [mq]: 6.patch - test |
|
343 | 5: 09d19592680d [mq]: 6.patch - test | |
344 | 4: [mq]: 5.patch - johndeere |
|
344 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
345 | 3: Four - jane |
|
345 | 3: 0dfb3111e7ee Four - jane | |
346 | 2: Three (again) - maria |
|
346 | 2: a6686ee84fc3 Three (again) - maria | |
347 | 1: [mq]: 2.patch - jane |
|
347 | 1: a425cde5f493 [mq]: 2.patch - jane | |
348 | 0: [mq]: 1.patch - mary |
|
348 | 0: 3682f830e656 [mq]: 1.patch - mary | |
349 | ==== hg qref -U |
|
349 | ==== hg qref -U | |
350 | From: test |
|
350 | From: test | |
351 |
|
351 | |||
@@ -354,12 +354,12 b'' | |||||
354 | +++ b/6 |
|
354 | +++ b/6 | |
355 | @@ -0,0 +1,1 @@ |
|
355 | @@ -0,0 +1,1 @@ | |
356 | +6 |
|
356 | +6 | |
357 | 5: [mq]: 6.patch - test |
|
357 | 5: 09d19592680d [mq]: 6.patch - test | |
358 | 4: [mq]: 5.patch - johndeere |
|
358 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
359 | 3: Four - jane |
|
359 | 3: 0dfb3111e7ee Four - jane | |
360 | 2: Three (again) - maria |
|
360 | 2: a6686ee84fc3 Three (again) - maria | |
361 | 1: [mq]: 2.patch - jane |
|
361 | 1: a425cde5f493 [mq]: 2.patch - jane | |
362 | 0: [mq]: 1.patch - mary |
|
362 | 0: 3682f830e656 [mq]: 1.patch - mary | |
363 | ==== hg qref -u |
|
363 | ==== hg qref -u | |
364 | From: johndeere |
|
364 | From: johndeere | |
365 |
|
365 | |||
@@ -368,12 +368,12 b'' | |||||
368 | +++ b/6 |
|
368 | +++ b/6 | |
369 | @@ -0,0 +1,1 @@ |
|
369 | @@ -0,0 +1,1 @@ | |
370 | +6 |
|
370 | +6 | |
371 | 5: [mq]: 6.patch - johndeere |
|
371 | 5: 32641ee07196 [mq]: 6.patch - johndeere | |
372 | 4: [mq]: 5.patch - johndeere |
|
372 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
373 | 3: Four - jane |
|
373 | 3: 0dfb3111e7ee Four - jane | |
374 | 2: Three (again) - maria |
|
374 | 2: a6686ee84fc3 Three (again) - maria | |
375 | 1: [mq]: 2.patch - jane |
|
375 | 1: a425cde5f493 [mq]: 2.patch - jane | |
376 | 0: [mq]: 1.patch - mary |
|
376 | 0: 3682f830e656 [mq]: 1.patch - mary | |
377 | ==== qpop -a / qpush -a |
|
377 | ==== qpop -a / qpush -a | |
378 | popping 6.patch |
|
378 | popping 6.patch | |
379 | popping 5.patch |
|
379 | popping 5.patch | |
@@ -389,12 +389,12 b'' | |||||
389 | applying 5.patch |
|
389 | applying 5.patch | |
390 | applying 6.patch |
|
390 | applying 6.patch | |
391 | now at: 6.patch |
|
391 | now at: 6.patch | |
392 | 5: imported patch 6.patch - johndeere |
|
392 | 5: 1fb083c80457 imported patch 6.patch - johndeere | |
393 | 4: imported patch 5.patch - johndeere |
|
393 | 4: 7e96e969691d imported patch 5.patch - johndeere | |
394 | 3: Four - jane |
|
394 | 3: c7147533d3cd Four - jane | |
395 | 2: Three (again) - maria |
|
395 | 2: b383d04401ea Three (again) - maria | |
396 | 1: imported patch 2.patch - jane |
|
396 | 1: fac2da4efc3c imported patch 2.patch - jane | |
397 | 0: imported patch 1.patch - mary |
|
397 | 0: b6e237e8771b imported patch 1.patch - mary | |
398 | $ rm -r sandbox |
|
398 | $ rm -r sandbox | |
399 |
|
399 | |||
400 | ======= hg headers |
|
400 | ======= hg headers | |
@@ -408,7 +408,7 b'' | |||||
408 | # User test |
|
408 | # User test | |
409 | # Parent |
|
409 | # Parent | |
410 |
|
410 | |||
411 | 0: [mq]: 1.patch - test |
|
411 | 0: a054644889e5 [mq]: 1.patch - test | |
412 | ==== qref |
|
412 | ==== qref | |
413 | adding 1 |
|
413 | adding 1 | |
414 | # HG changeset patch |
|
414 | # HG changeset patch | |
@@ -420,7 +420,7 b'' | |||||
420 | +++ b/1 |
|
420 | +++ b/1 | |
421 | @@ -0,0 +1,1 @@ |
|
421 | @@ -0,0 +1,1 @@ | |
422 | +1 |
|
422 | +1 | |
423 | 0: [mq]: 1.patch - test |
|
423 | 0: 2905f1e46ee0 [mq]: 1.patch - test | |
424 | ==== qref -u |
|
424 | ==== qref -u | |
425 | # HG changeset patch |
|
425 | # HG changeset patch | |
426 | # User mary |
|
426 | # User mary | |
@@ -431,7 +431,7 b'' | |||||
431 | +++ b/1 |
|
431 | +++ b/1 | |
432 | @@ -0,0 +1,1 @@ |
|
432 | @@ -0,0 +1,1 @@ | |
433 | +1 |
|
433 | +1 | |
434 | 0: [mq]: 1.patch - mary |
|
434 | 0: 3682f830e656 [mq]: 1.patch - mary | |
435 | ==== qnew |
|
435 | ==== qnew | |
436 | adding 2 |
|
436 | adding 2 | |
437 | # HG changeset patch |
|
437 | # HG changeset patch | |
@@ -442,8 +442,8 b'' | |||||
442 | +++ b/2 |
|
442 | +++ b/2 | |
443 | @@ -0,0 +1,1 @@ |
|
443 | @@ -0,0 +1,1 @@ | |
444 | +2 |
|
444 | +2 | |
445 | 1: [mq]: 2.patch - test |
|
445 | 1: 527f98a12a7a [mq]: 2.patch - test | |
446 | 0: [mq]: 1.patch - mary |
|
446 | 0: 3682f830e656 [mq]: 1.patch - mary | |
447 | ==== qref -u |
|
447 | ==== qref -u | |
448 | # HG changeset patch |
|
448 | # HG changeset patch | |
449 | # User jane |
|
449 | # User jane | |
@@ -454,17 +454,17 b'' | |||||
454 | +++ b/2 |
|
454 | +++ b/2 | |
455 | @@ -0,0 +1,1 @@ |
|
455 | @@ -0,0 +1,1 @@ | |
456 | +2 |
|
456 | +2 | |
457 | 1: [mq]: 2.patch - jane |
|
457 | 1: a425cde5f493 [mq]: 2.patch - jane | |
458 | 0: [mq]: 1.patch - mary |
|
458 | 0: 3682f830e656 [mq]: 1.patch - mary | |
459 | ==== qnew -U -m |
|
459 | ==== qnew -U -m | |
460 | # HG changeset patch |
|
460 | # HG changeset patch | |
461 | # User test |
|
461 | # User test | |
462 | # Parent |
|
462 | # Parent | |
463 | Three |
|
463 | Three | |
464 |
|
464 | |||
465 | 2: Three - test |
|
465 | 2: 0ffa16a9088e Three - test | |
466 | 1: [mq]: 2.patch - jane |
|
466 | 1: a425cde5f493 [mq]: 2.patch - jane | |
467 | 0: [mq]: 1.patch - mary |
|
467 | 0: 3682f830e656 [mq]: 1.patch - mary | |
468 | ==== qref |
|
468 | ==== qref | |
469 | adding 3 |
|
469 | adding 3 | |
470 | # HG changeset patch |
|
470 | # HG changeset patch | |
@@ -477,9 +477,9 b'' | |||||
477 | +++ b/3 |
|
477 | +++ b/3 | |
478 | @@ -0,0 +1,1 @@ |
|
478 | @@ -0,0 +1,1 @@ | |
479 | +3 |
|
479 | +3 | |
480 | 2: Three - test |
|
480 | 2: 83f1290c6086 Three - test | |
481 | 1: [mq]: 2.patch - jane |
|
481 | 1: a425cde5f493 [mq]: 2.patch - jane | |
482 | 0: [mq]: 1.patch - mary |
|
482 | 0: 3682f830e656 [mq]: 1.patch - mary | |
483 | ==== qref -m |
|
483 | ==== qref -m | |
484 | # HG changeset patch |
|
484 | # HG changeset patch | |
485 | # User test |
|
485 | # User test | |
@@ -491,9 +491,9 b'' | |||||
491 | +++ b/3 |
|
491 | +++ b/3 | |
492 | @@ -0,0 +1,1 @@ |
|
492 | @@ -0,0 +1,1 @@ | |
493 | +3 |
|
493 | +3 | |
494 | 2: Drei - test |
|
494 | 2: b0d856328d4d Drei - test | |
495 | 1: [mq]: 2.patch - jane |
|
495 | 1: a425cde5f493 [mq]: 2.patch - jane | |
496 | 0: [mq]: 1.patch - mary |
|
496 | 0: 3682f830e656 [mq]: 1.patch - mary | |
497 | ==== qref -u |
|
497 | ==== qref -u | |
498 | # HG changeset patch |
|
498 | # HG changeset patch | |
499 | # User mary |
|
499 | # User mary | |
@@ -505,9 +505,9 b'' | |||||
505 | +++ b/3 |
|
505 | +++ b/3 | |
506 | @@ -0,0 +1,1 @@ |
|
506 | @@ -0,0 +1,1 @@ | |
507 | +3 |
|
507 | +3 | |
508 | 2: Drei - mary |
|
508 | 2: bb9d4b28e6a6 Drei - mary | |
509 | 1: [mq]: 2.patch - jane |
|
509 | 1: a425cde5f493 [mq]: 2.patch - jane | |
510 | 0: [mq]: 1.patch - mary |
|
510 | 0: 3682f830e656 [mq]: 1.patch - mary | |
511 | ==== qref -u -m |
|
511 | ==== qref -u -m | |
512 | # HG changeset patch |
|
512 | # HG changeset patch | |
513 | # User maria |
|
513 | # User maria | |
@@ -519,9 +519,9 b'' | |||||
519 | +++ b/3 |
|
519 | +++ b/3 | |
520 | @@ -0,0 +1,1 @@ |
|
520 | @@ -0,0 +1,1 @@ | |
521 | +3 |
|
521 | +3 | |
522 | 2: Three (again) - maria |
|
522 | 2: a6686ee84fc3 Three (again) - maria | |
523 | 1: [mq]: 2.patch - jane |
|
523 | 1: a425cde5f493 [mq]: 2.patch - jane | |
524 | 0: [mq]: 1.patch - mary |
|
524 | 0: 3682f830e656 [mq]: 1.patch - mary | |
525 | ==== qnew -m |
|
525 | ==== qnew -m | |
526 | adding 4of |
|
526 | adding 4of | |
527 | # HG changeset patch |
|
527 | # HG changeset patch | |
@@ -533,10 +533,10 b'' | |||||
533 | +++ b/4of |
|
533 | +++ b/4of | |
534 | @@ -0,0 +1,1 @@ |
|
534 | @@ -0,0 +1,1 @@ | |
535 | +4 t |
|
535 | +4 t | |
536 | 3: Four - test |
|
536 | 3: b9f922d0da40 Four - test | |
537 | 2: Three (again) - maria |
|
537 | 2: a6686ee84fc3 Three (again) - maria | |
538 | 1: [mq]: 2.patch - jane |
|
538 | 1: a425cde5f493 [mq]: 2.patch - jane | |
539 | 0: [mq]: 1.patch - mary |
|
539 | 0: 3682f830e656 [mq]: 1.patch - mary | |
540 | ==== qref -u |
|
540 | ==== qref -u | |
541 | # HG changeset patch |
|
541 | # HG changeset patch | |
542 | # User jane |
|
542 | # User jane | |
@@ -548,21 +548,21 b'' | |||||
548 | +++ b/4of |
|
548 | +++ b/4of | |
549 | @@ -0,0 +1,1 @@ |
|
549 | @@ -0,0 +1,1 @@ | |
550 | +4 t |
|
550 | +4 t | |
551 | 3: Four - jane |
|
551 | 3: 0dfb3111e7ee Four - jane | |
552 | 2: Three (again) - maria |
|
552 | 2: a6686ee84fc3 Three (again) - maria | |
553 | 1: [mq]: 2.patch - jane |
|
553 | 1: a425cde5f493 [mq]: 2.patch - jane | |
554 | 0: [mq]: 1.patch - mary |
|
554 | 0: 3682f830e656 [mq]: 1.patch - mary | |
555 | ==== qnew with HG header |
|
555 | ==== qnew with HG header | |
556 | popping 5.patch |
|
556 | popping 5.patch | |
557 | now at: 4.patch |
|
557 | now at: 4.patch | |
558 | now at: 5.patch |
|
558 | now at: 5.patch | |
559 | # HG changeset patch |
|
559 | # HG changeset patch | |
560 | # User johndoe |
|
560 | # User johndoe | |
561 | 4: imported patch 5.patch - johndoe |
|
561 | 4: 72bc4a0467ef imported patch 5.patch - johndoe | |
562 | 3: Four - jane |
|
562 | 3: 0dfb3111e7ee Four - jane | |
563 | 2: Three (again) - maria |
|
563 | 2: a6686ee84fc3 Three (again) - maria | |
564 | 1: [mq]: 2.patch - jane |
|
564 | 1: a425cde5f493 [mq]: 2.patch - jane | |
565 | 0: [mq]: 1.patch - mary |
|
565 | 0: 3682f830e656 [mq]: 1.patch - mary | |
566 | ==== hg qref |
|
566 | ==== hg qref | |
567 | adding 5 |
|
567 | adding 5 | |
568 | # HG changeset patch |
|
568 | # HG changeset patch | |
@@ -574,11 +574,11 b'' | |||||
574 | +++ b/5 |
|
574 | +++ b/5 | |
575 | @@ -0,0 +1,1 @@ |
|
575 | @@ -0,0 +1,1 @@ | |
576 | +5 |
|
576 | +5 | |
577 | 4: [mq]: 5.patch - johndoe |
|
577 | 4: ff5c06112e5a [mq]: 5.patch - johndoe | |
578 | 3: Four - jane |
|
578 | 3: 0dfb3111e7ee Four - jane | |
579 | 2: Three (again) - maria |
|
579 | 2: a6686ee84fc3 Three (again) - maria | |
580 | 1: [mq]: 2.patch - jane |
|
580 | 1: a425cde5f493 [mq]: 2.patch - jane | |
581 | 0: [mq]: 1.patch - mary |
|
581 | 0: 3682f830e656 [mq]: 1.patch - mary | |
582 | ==== hg qref -U |
|
582 | ==== hg qref -U | |
583 | # HG changeset patch |
|
583 | # HG changeset patch | |
584 | # User test |
|
584 | # User test | |
@@ -589,11 +589,11 b'' | |||||
589 | +++ b/5 |
|
589 | +++ b/5 | |
590 | @@ -0,0 +1,1 @@ |
|
590 | @@ -0,0 +1,1 @@ | |
591 | +5 |
|
591 | +5 | |
592 | 4: [mq]: 5.patch - test |
|
592 | 4: c947416c22b1 [mq]: 5.patch - test | |
593 | 3: Four - jane |
|
593 | 3: 0dfb3111e7ee Four - jane | |
594 | 2: Three (again) - maria |
|
594 | 2: a6686ee84fc3 Three (again) - maria | |
595 | 1: [mq]: 2.patch - jane |
|
595 | 1: a425cde5f493 [mq]: 2.patch - jane | |
596 | 0: [mq]: 1.patch - mary |
|
596 | 0: 3682f830e656 [mq]: 1.patch - mary | |
597 | ==== hg qref -u |
|
597 | ==== hg qref -u | |
598 | # HG changeset patch |
|
598 | # HG changeset patch | |
599 | # User johndeere |
|
599 | # User johndeere | |
@@ -604,23 +604,23 b'' | |||||
604 | +++ b/5 |
|
604 | +++ b/5 | |
605 | @@ -0,0 +1,1 @@ |
|
605 | @@ -0,0 +1,1 @@ | |
606 | +5 |
|
606 | +5 | |
607 | 4: [mq]: 5.patch - johndeere |
|
607 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
608 | 3: Four - jane |
|
608 | 3: 0dfb3111e7ee Four - jane | |
609 | 2: Three (again) - maria |
|
609 | 2: a6686ee84fc3 Three (again) - maria | |
610 | 1: [mq]: 2.patch - jane |
|
610 | 1: a425cde5f493 [mq]: 2.patch - jane | |
611 | 0: [mq]: 1.patch - mary |
|
611 | 0: 3682f830e656 [mq]: 1.patch - mary | |
612 | ==== qnew with plain header |
|
612 | ==== qnew with plain header | |
613 | popping 6.patch |
|
613 | popping 6.patch | |
614 | now at: 5.patch |
|
614 | now at: 5.patch | |
615 | now at: 6.patch |
|
615 | now at: 6.patch | |
616 | From: test |
|
616 | From: test | |
617 |
|
617 | |||
618 | 5: imported patch 6.patch - test |
|
618 | 5: 7825a18ec839 imported patch 6.patch - test | |
619 | 4: [mq]: 5.patch - johndeere |
|
619 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
620 | 3: Four - jane |
|
620 | 3: 0dfb3111e7ee Four - jane | |
621 | 2: Three (again) - maria |
|
621 | 2: a6686ee84fc3 Three (again) - maria | |
622 | 1: [mq]: 2.patch - jane |
|
622 | 1: a425cde5f493 [mq]: 2.patch - jane | |
623 | 0: [mq]: 1.patch - mary |
|
623 | 0: 3682f830e656 [mq]: 1.patch - mary | |
624 | ==== hg qref |
|
624 | ==== hg qref | |
625 | adding 6 |
|
625 | adding 6 | |
626 | From: test |
|
626 | From: test | |
@@ -630,12 +630,12 b'' | |||||
630 | +++ b/6 |
|
630 | +++ b/6 | |
631 | @@ -0,0 +1,1 @@ |
|
631 | @@ -0,0 +1,1 @@ | |
632 | +6 |
|
632 | +6 | |
633 | 5: [mq]: 6.patch - test |
|
633 | 5: 09d19592680d [mq]: 6.patch - test | |
634 | 4: [mq]: 5.patch - johndeere |
|
634 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
635 | 3: Four - jane |
|
635 | 3: 0dfb3111e7ee Four - jane | |
636 | 2: Three (again) - maria |
|
636 | 2: a6686ee84fc3 Three (again) - maria | |
637 | 1: [mq]: 2.patch - jane |
|
637 | 1: a425cde5f493 [mq]: 2.patch - jane | |
638 | 0: [mq]: 1.patch - mary |
|
638 | 0: 3682f830e656 [mq]: 1.patch - mary | |
639 | ==== hg qref -U |
|
639 | ==== hg qref -U | |
640 | From: test |
|
640 | From: test | |
641 |
|
641 | |||
@@ -644,12 +644,12 b'' | |||||
644 | +++ b/6 |
|
644 | +++ b/6 | |
645 | @@ -0,0 +1,1 @@ |
|
645 | @@ -0,0 +1,1 @@ | |
646 | +6 |
|
646 | +6 | |
647 | 5: [mq]: 6.patch - test |
|
647 | 5: 09d19592680d [mq]: 6.patch - test | |
648 | 4: [mq]: 5.patch - johndeere |
|
648 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
649 | 3: Four - jane |
|
649 | 3: 0dfb3111e7ee Four - jane | |
650 | 2: Three (again) - maria |
|
650 | 2: a6686ee84fc3 Three (again) - maria | |
651 | 1: [mq]: 2.patch - jane |
|
651 | 1: a425cde5f493 [mq]: 2.patch - jane | |
652 | 0: [mq]: 1.patch - mary |
|
652 | 0: 3682f830e656 [mq]: 1.patch - mary | |
653 | ==== hg qref -u |
|
653 | ==== hg qref -u | |
654 | From: johndeere |
|
654 | From: johndeere | |
655 |
|
655 | |||
@@ -658,12 +658,12 b'' | |||||
658 | +++ b/6 |
|
658 | +++ b/6 | |
659 | @@ -0,0 +1,1 @@ |
|
659 | @@ -0,0 +1,1 @@ | |
660 | +6 |
|
660 | +6 | |
661 | 5: [mq]: 6.patch - johndeere |
|
661 | 5: 32641ee07196 [mq]: 6.patch - johndeere | |
662 | 4: [mq]: 5.patch - johndeere |
|
662 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
663 | 3: Four - jane |
|
663 | 3: 0dfb3111e7ee Four - jane | |
664 | 2: Three (again) - maria |
|
664 | 2: a6686ee84fc3 Three (again) - maria | |
665 | 1: [mq]: 2.patch - jane |
|
665 | 1: a425cde5f493 [mq]: 2.patch - jane | |
666 | 0: [mq]: 1.patch - mary |
|
666 | 0: 3682f830e656 [mq]: 1.patch - mary | |
667 | ==== qpop -a / qpush -a |
|
667 | ==== qpop -a / qpush -a | |
668 | popping 6.patch |
|
668 | popping 6.patch | |
669 | popping 5.patch |
|
669 | popping 5.patch | |
@@ -679,12 +679,12 b'' | |||||
679 | applying 5.patch |
|
679 | applying 5.patch | |
680 | applying 6.patch |
|
680 | applying 6.patch | |
681 | now at: 6.patch |
|
681 | now at: 6.patch | |
682 | 5: imported patch 6.patch - johndeere |
|
682 | 5: 1fb083c80457 imported patch 6.patch - johndeere | |
683 | 4: imported patch 5.patch - johndeere |
|
683 | 4: 7e96e969691d imported patch 5.patch - johndeere | |
684 | 3: Four - jane |
|
684 | 3: c7147533d3cd Four - jane | |
685 | 2: Three (again) - maria |
|
685 | 2: b383d04401ea Three (again) - maria | |
686 | 1: imported patch 2.patch - jane |
|
686 | 1: fac2da4efc3c imported patch 2.patch - jane | |
687 | 0: imported patch 1.patch - mary |
|
687 | 0: b6e237e8771b imported patch 1.patch - mary | |
688 | $ rm -r sandbox |
|
688 | $ rm -r sandbox | |
689 | $ runtest |
|
689 | $ runtest | |
690 | ==== init |
|
690 | ==== init | |
@@ -693,7 +693,7 b'' | |||||
693 | # User test |
|
693 | # User test | |
694 | # Parent |
|
694 | # Parent | |
695 |
|
695 | |||
696 | 0: [mq]: 1.patch - test |
|
696 | 0: a054644889e5 [mq]: 1.patch - test | |
697 | ==== qref |
|
697 | ==== qref | |
698 | adding 1 |
|
698 | adding 1 | |
699 | # HG changeset patch |
|
699 | # HG changeset patch | |
@@ -705,7 +705,7 b'' | |||||
705 | +++ b/1 |
|
705 | +++ b/1 | |
706 | @@ -0,0 +1,1 @@ |
|
706 | @@ -0,0 +1,1 @@ | |
707 | +1 |
|
707 | +1 | |
708 | 0: [mq]: 1.patch - test |
|
708 | 0: 2905f1e46ee0 [mq]: 1.patch - test | |
709 | ==== qref -u |
|
709 | ==== qref -u | |
710 | # HG changeset patch |
|
710 | # HG changeset patch | |
711 | # User mary |
|
711 | # User mary | |
@@ -716,7 +716,7 b'' | |||||
716 | +++ b/1 |
|
716 | +++ b/1 | |
717 | @@ -0,0 +1,1 @@ |
|
717 | @@ -0,0 +1,1 @@ | |
718 | +1 |
|
718 | +1 | |
719 | 0: [mq]: 1.patch - mary |
|
719 | 0: 3682f830e656 [mq]: 1.patch - mary | |
720 | ==== qnew |
|
720 | ==== qnew | |
721 | adding 2 |
|
721 | adding 2 | |
722 | # HG changeset patch |
|
722 | # HG changeset patch | |
@@ -727,8 +727,8 b'' | |||||
727 | +++ b/2 |
|
727 | +++ b/2 | |
728 | @@ -0,0 +1,1 @@ |
|
728 | @@ -0,0 +1,1 @@ | |
729 | +2 |
|
729 | +2 | |
730 | 1: [mq]: 2.patch - test |
|
730 | 1: 527f98a12a7a [mq]: 2.patch - test | |
731 | 0: [mq]: 1.patch - mary |
|
731 | 0: 3682f830e656 [mq]: 1.patch - mary | |
732 | ==== qref -u |
|
732 | ==== qref -u | |
733 | # HG changeset patch |
|
733 | # HG changeset patch | |
734 | # User jane |
|
734 | # User jane | |
@@ -739,17 +739,17 b'' | |||||
739 | +++ b/2 |
|
739 | +++ b/2 | |
740 | @@ -0,0 +1,1 @@ |
|
740 | @@ -0,0 +1,1 @@ | |
741 | +2 |
|
741 | +2 | |
742 | 1: [mq]: 2.patch - jane |
|
742 | 1: a425cde5f493 [mq]: 2.patch - jane | |
743 | 0: [mq]: 1.patch - mary |
|
743 | 0: 3682f830e656 [mq]: 1.patch - mary | |
744 | ==== qnew -U -m |
|
744 | ==== qnew -U -m | |
745 | # HG changeset patch |
|
745 | # HG changeset patch | |
746 | # User test |
|
746 | # User test | |
747 | # Parent |
|
747 | # Parent | |
748 | Three |
|
748 | Three | |
749 |
|
749 | |||
750 | 2: Three - test |
|
750 | 2: 0ffa16a9088e Three - test | |
751 | 1: [mq]: 2.patch - jane |
|
751 | 1: a425cde5f493 [mq]: 2.patch - jane | |
752 | 0: [mq]: 1.patch - mary |
|
752 | 0: 3682f830e656 [mq]: 1.patch - mary | |
753 | ==== qref |
|
753 | ==== qref | |
754 | adding 3 |
|
754 | adding 3 | |
755 | # HG changeset patch |
|
755 | # HG changeset patch | |
@@ -762,9 +762,9 b'' | |||||
762 | +++ b/3 |
|
762 | +++ b/3 | |
763 | @@ -0,0 +1,1 @@ |
|
763 | @@ -0,0 +1,1 @@ | |
764 | +3 |
|
764 | +3 | |
765 | 2: Three - test |
|
765 | 2: 83f1290c6086 Three - test | |
766 | 1: [mq]: 2.patch - jane |
|
766 | 1: a425cde5f493 [mq]: 2.patch - jane | |
767 | 0: [mq]: 1.patch - mary |
|
767 | 0: 3682f830e656 [mq]: 1.patch - mary | |
768 | ==== qref -m |
|
768 | ==== qref -m | |
769 | # HG changeset patch |
|
769 | # HG changeset patch | |
770 | # User test |
|
770 | # User test | |
@@ -776,9 +776,9 b'' | |||||
776 | +++ b/3 |
|
776 | +++ b/3 | |
777 | @@ -0,0 +1,1 @@ |
|
777 | @@ -0,0 +1,1 @@ | |
778 | +3 |
|
778 | +3 | |
779 | 2: Drei - test |
|
779 | 2: b0d856328d4d Drei - test | |
780 | 1: [mq]: 2.patch - jane |
|
780 | 1: a425cde5f493 [mq]: 2.patch - jane | |
781 | 0: [mq]: 1.patch - mary |
|
781 | 0: 3682f830e656 [mq]: 1.patch - mary | |
782 | ==== qref -u |
|
782 | ==== qref -u | |
783 | # HG changeset patch |
|
783 | # HG changeset patch | |
784 | # User mary |
|
784 | # User mary | |
@@ -790,9 +790,9 b'' | |||||
790 | +++ b/3 |
|
790 | +++ b/3 | |
791 | @@ -0,0 +1,1 @@ |
|
791 | @@ -0,0 +1,1 @@ | |
792 | +3 |
|
792 | +3 | |
793 | 2: Drei - mary |
|
793 | 2: bb9d4b28e6a6 Drei - mary | |
794 | 1: [mq]: 2.patch - jane |
|
794 | 1: a425cde5f493 [mq]: 2.patch - jane | |
795 | 0: [mq]: 1.patch - mary |
|
795 | 0: 3682f830e656 [mq]: 1.patch - mary | |
796 | ==== qref -u -m |
|
796 | ==== qref -u -m | |
797 | # HG changeset patch |
|
797 | # HG changeset patch | |
798 | # User maria |
|
798 | # User maria | |
@@ -804,9 +804,9 b'' | |||||
804 | +++ b/3 |
|
804 | +++ b/3 | |
805 | @@ -0,0 +1,1 @@ |
|
805 | @@ -0,0 +1,1 @@ | |
806 | +3 |
|
806 | +3 | |
807 | 2: Three (again) - maria |
|
807 | 2: a6686ee84fc3 Three (again) - maria | |
808 | 1: [mq]: 2.patch - jane |
|
808 | 1: a425cde5f493 [mq]: 2.patch - jane | |
809 | 0: [mq]: 1.patch - mary |
|
809 | 0: 3682f830e656 [mq]: 1.patch - mary | |
810 | ==== qnew -m |
|
810 | ==== qnew -m | |
811 | adding 4of |
|
811 | adding 4of | |
812 | # HG changeset patch |
|
812 | # HG changeset patch | |
@@ -818,10 +818,10 b'' | |||||
818 | +++ b/4of |
|
818 | +++ b/4of | |
819 | @@ -0,0 +1,1 @@ |
|
819 | @@ -0,0 +1,1 @@ | |
820 | +4 t |
|
820 | +4 t | |
821 | 3: Four - test |
|
821 | 3: b9f922d0da40 Four - test | |
822 | 2: Three (again) - maria |
|
822 | 2: a6686ee84fc3 Three (again) - maria | |
823 | 1: [mq]: 2.patch - jane |
|
823 | 1: a425cde5f493 [mq]: 2.patch - jane | |
824 | 0: [mq]: 1.patch - mary |
|
824 | 0: 3682f830e656 [mq]: 1.patch - mary | |
825 | ==== qref -u |
|
825 | ==== qref -u | |
826 | # HG changeset patch |
|
826 | # HG changeset patch | |
827 | # User jane |
|
827 | # User jane | |
@@ -833,21 +833,21 b'' | |||||
833 | +++ b/4of |
|
833 | +++ b/4of | |
834 | @@ -0,0 +1,1 @@ |
|
834 | @@ -0,0 +1,1 @@ | |
835 | +4 t |
|
835 | +4 t | |
836 | 3: Four - jane |
|
836 | 3: 0dfb3111e7ee Four - jane | |
837 | 2: Three (again) - maria |
|
837 | 2: a6686ee84fc3 Three (again) - maria | |
838 | 1: [mq]: 2.patch - jane |
|
838 | 1: a425cde5f493 [mq]: 2.patch - jane | |
839 | 0: [mq]: 1.patch - mary |
|
839 | 0: 3682f830e656 [mq]: 1.patch - mary | |
840 | ==== qnew with HG header |
|
840 | ==== qnew with HG header | |
841 | popping 5.patch |
|
841 | popping 5.patch | |
842 | now at: 4.patch |
|
842 | now at: 4.patch | |
843 | now at: 5.patch |
|
843 | now at: 5.patch | |
844 | # HG changeset patch |
|
844 | # HG changeset patch | |
845 | # User johndoe |
|
845 | # User johndoe | |
846 | 4: imported patch 5.patch - johndoe |
|
846 | 4: 72bc4a0467ef imported patch 5.patch - johndoe | |
847 | 3: Four - jane |
|
847 | 3: 0dfb3111e7ee Four - jane | |
848 | 2: Three (again) - maria |
|
848 | 2: a6686ee84fc3 Three (again) - maria | |
849 | 1: [mq]: 2.patch - jane |
|
849 | 1: a425cde5f493 [mq]: 2.patch - jane | |
850 | 0: [mq]: 1.patch - mary |
|
850 | 0: 3682f830e656 [mq]: 1.patch - mary | |
851 | ==== hg qref |
|
851 | ==== hg qref | |
852 | adding 5 |
|
852 | adding 5 | |
853 | # HG changeset patch |
|
853 | # HG changeset patch | |
@@ -859,11 +859,11 b'' | |||||
859 | +++ b/5 |
|
859 | +++ b/5 | |
860 | @@ -0,0 +1,1 @@ |
|
860 | @@ -0,0 +1,1 @@ | |
861 | +5 |
|
861 | +5 | |
862 | 4: [mq]: 5.patch - johndoe |
|
862 | 4: ff5c06112e5a [mq]: 5.patch - johndoe | |
863 | 3: Four - jane |
|
863 | 3: 0dfb3111e7ee Four - jane | |
864 | 2: Three (again) - maria |
|
864 | 2: a6686ee84fc3 Three (again) - maria | |
865 | 1: [mq]: 2.patch - jane |
|
865 | 1: a425cde5f493 [mq]: 2.patch - jane | |
866 | 0: [mq]: 1.patch - mary |
|
866 | 0: 3682f830e656 [mq]: 1.patch - mary | |
867 | ==== hg qref -U |
|
867 | ==== hg qref -U | |
868 | # HG changeset patch |
|
868 | # HG changeset patch | |
869 | # User test |
|
869 | # User test | |
@@ -874,11 +874,11 b'' | |||||
874 | +++ b/5 |
|
874 | +++ b/5 | |
875 | @@ -0,0 +1,1 @@ |
|
875 | @@ -0,0 +1,1 @@ | |
876 | +5 |
|
876 | +5 | |
877 | 4: [mq]: 5.patch - test |
|
877 | 4: c947416c22b1 [mq]: 5.patch - test | |
878 | 3: Four - jane |
|
878 | 3: 0dfb3111e7ee Four - jane | |
879 | 2: Three (again) - maria |
|
879 | 2: a6686ee84fc3 Three (again) - maria | |
880 | 1: [mq]: 2.patch - jane |
|
880 | 1: a425cde5f493 [mq]: 2.patch - jane | |
881 | 0: [mq]: 1.patch - mary |
|
881 | 0: 3682f830e656 [mq]: 1.patch - mary | |
882 | ==== hg qref -u |
|
882 | ==== hg qref -u | |
883 | # HG changeset patch |
|
883 | # HG changeset patch | |
884 | # User johndeere |
|
884 | # User johndeere | |
@@ -889,23 +889,23 b'' | |||||
889 | +++ b/5 |
|
889 | +++ b/5 | |
890 | @@ -0,0 +1,1 @@ |
|
890 | @@ -0,0 +1,1 @@ | |
891 | +5 |
|
891 | +5 | |
892 | 4: [mq]: 5.patch - johndeere |
|
892 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
893 | 3: Four - jane |
|
893 | 3: 0dfb3111e7ee Four - jane | |
894 | 2: Three (again) - maria |
|
894 | 2: a6686ee84fc3 Three (again) - maria | |
895 | 1: [mq]: 2.patch - jane |
|
895 | 1: a425cde5f493 [mq]: 2.patch - jane | |
896 | 0: [mq]: 1.patch - mary |
|
896 | 0: 3682f830e656 [mq]: 1.patch - mary | |
897 | ==== qnew with plain header |
|
897 | ==== qnew with plain header | |
898 | popping 6.patch |
|
898 | popping 6.patch | |
899 | now at: 5.patch |
|
899 | now at: 5.patch | |
900 | now at: 6.patch |
|
900 | now at: 6.patch | |
901 | From: test |
|
901 | From: test | |
902 |
|
902 | |||
903 | 5: imported patch 6.patch - test |
|
903 | 5: 7825a18ec839 imported patch 6.patch - test | |
904 | 4: [mq]: 5.patch - johndeere |
|
904 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
905 | 3: Four - jane |
|
905 | 3: 0dfb3111e7ee Four - jane | |
906 | 2: Three (again) - maria |
|
906 | 2: a6686ee84fc3 Three (again) - maria | |
907 | 1: [mq]: 2.patch - jane |
|
907 | 1: a425cde5f493 [mq]: 2.patch - jane | |
908 | 0: [mq]: 1.patch - mary |
|
908 | 0: 3682f830e656 [mq]: 1.patch - mary | |
909 | ==== hg qref |
|
909 | ==== hg qref | |
910 | adding 6 |
|
910 | adding 6 | |
911 | From: test |
|
911 | From: test | |
@@ -915,12 +915,12 b'' | |||||
915 | +++ b/6 |
|
915 | +++ b/6 | |
916 | @@ -0,0 +1,1 @@ |
|
916 | @@ -0,0 +1,1 @@ | |
917 | +6 |
|
917 | +6 | |
918 | 5: [mq]: 6.patch - test |
|
918 | 5: 09d19592680d [mq]: 6.patch - test | |
919 | 4: [mq]: 5.patch - johndeere |
|
919 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
920 | 3: Four - jane |
|
920 | 3: 0dfb3111e7ee Four - jane | |
921 | 2: Three (again) - maria |
|
921 | 2: a6686ee84fc3 Three (again) - maria | |
922 | 1: [mq]: 2.patch - jane |
|
922 | 1: a425cde5f493 [mq]: 2.patch - jane | |
923 | 0: [mq]: 1.patch - mary |
|
923 | 0: 3682f830e656 [mq]: 1.patch - mary | |
924 | ==== hg qref -U |
|
924 | ==== hg qref -U | |
925 | From: test |
|
925 | From: test | |
926 |
|
926 | |||
@@ -929,12 +929,12 b'' | |||||
929 | +++ b/6 |
|
929 | +++ b/6 | |
930 | @@ -0,0 +1,1 @@ |
|
930 | @@ -0,0 +1,1 @@ | |
931 | +6 |
|
931 | +6 | |
932 | 5: [mq]: 6.patch - test |
|
932 | 5: 09d19592680d [mq]: 6.patch - test | |
933 | 4: [mq]: 5.patch - johndeere |
|
933 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
934 | 3: Four - jane |
|
934 | 3: 0dfb3111e7ee Four - jane | |
935 | 2: Three (again) - maria |
|
935 | 2: a6686ee84fc3 Three (again) - maria | |
936 | 1: [mq]: 2.patch - jane |
|
936 | 1: a425cde5f493 [mq]: 2.patch - jane | |
937 | 0: [mq]: 1.patch - mary |
|
937 | 0: 3682f830e656 [mq]: 1.patch - mary | |
938 | ==== hg qref -u |
|
938 | ==== hg qref -u | |
939 | From: johndeere |
|
939 | From: johndeere | |
940 |
|
940 | |||
@@ -943,12 +943,12 b'' | |||||
943 | +++ b/6 |
|
943 | +++ b/6 | |
944 | @@ -0,0 +1,1 @@ |
|
944 | @@ -0,0 +1,1 @@ | |
945 | +6 |
|
945 | +6 | |
946 | 5: [mq]: 6.patch - johndeere |
|
946 | 5: 32641ee07196 [mq]: 6.patch - johndeere | |
947 | 4: [mq]: 5.patch - johndeere |
|
947 | 4: 1d898e201a22 [mq]: 5.patch - johndeere | |
948 | 3: Four - jane |
|
948 | 3: 0dfb3111e7ee Four - jane | |
949 | 2: Three (again) - maria |
|
949 | 2: a6686ee84fc3 Three (again) - maria | |
950 | 1: [mq]: 2.patch - jane |
|
950 | 1: a425cde5f493 [mq]: 2.patch - jane | |
951 | 0: [mq]: 1.patch - mary |
|
951 | 0: 3682f830e656 [mq]: 1.patch - mary | |
952 | ==== qpop -a / qpush -a |
|
952 | ==== qpop -a / qpush -a | |
953 | popping 6.patch |
|
953 | popping 6.patch | |
954 | popping 5.patch |
|
954 | popping 5.patch | |
@@ -964,11 +964,11 b'' | |||||
964 | applying 5.patch |
|
964 | applying 5.patch | |
965 | applying 6.patch |
|
965 | applying 6.patch | |
966 | now at: 6.patch |
|
966 | now at: 6.patch | |
967 | 5: imported patch 6.patch - johndeere |
|
967 | 5: 1fb083c80457 imported patch 6.patch - johndeere | |
968 | 4: imported patch 5.patch - johndeere |
|
968 | 4: 7e96e969691d imported patch 5.patch - johndeere | |
969 | 3: Four - jane |
|
969 | 3: c7147533d3cd Four - jane | |
970 | 2: Three (again) - maria |
|
970 | 2: b383d04401ea Three (again) - maria | |
971 | 1: imported patch 2.patch - jane |
|
971 | 1: fac2da4efc3c imported patch 2.patch - jane | |
972 | 0: imported patch 1.patch - mary |
|
972 | 0: b6e237e8771b imported patch 1.patch - mary | |
973 |
|
973 | |||
974 | $ cd .. |
|
974 | $ cd .. |
@@ -2,7 +2,7 b'' | |||||
2 | > [extensions] |
|
2 | > [extensions] | |
3 | > mq= |
|
3 | > mq= | |
4 | > [alias] |
|
4 | > [alias] | |
5 | > tlog = log --template "{rev}: {desc}\\n" |
|
5 | > tlog = log --template "{rev}: {node|short} {desc}\\n" | |
6 | > theads = heads --template "{rev}: {desc}\\n" |
|
6 | > theads = heads --template "{rev}: {desc}\\n" | |
7 | > tincoming = incoming --template "{rev}: {desc}\\n" |
|
7 | > tincoming = incoming --template "{rev}: {desc}\\n" | |
8 | > EOF |
|
8 | > EOF | |
@@ -97,7 +97,7 b' Pull queue bundle:' | |||||
97 | 0: queue: two.patch added |
|
97 | 0: queue: two.patch added | |
98 |
|
98 | |||
99 | $ hg -R .hg/patches tlog |
|
99 | $ hg -R .hg/patches tlog | |
100 | 0: queue: two.patch added |
|
100 | 0: d7553909353d queue: two.patch added | |
101 |
|
101 | |||
102 | $ hg qseries |
|
102 | $ hg qseries | |
103 | two.patch |
|
103 | two.patch | |
@@ -128,7 +128,7 b' Unbundle queue bundle:' | |||||
128 | 0: queue: two.patch added |
|
128 | 0: queue: two.patch added | |
129 |
|
129 | |||
130 | $ hg -R .hg/patches tlog |
|
130 | $ hg -R .hg/patches tlog | |
131 | 0: queue: two.patch added |
|
131 | 0: d7553909353d queue: two.patch added | |
132 |
|
132 | |||
133 | $ hg qseries |
|
133 | $ hg qseries | |
134 | two.patch |
|
134 | two.patch |
@@ -10,7 +10,7 b' flag should probably live in somewhere e' | |||||
10 | > publish=False |
|
10 | > publish=False | |
11 | > |
|
11 | > | |
12 | > [alias] |
|
12 | > [alias] | |
13 | > tglog = log -G --template "{rev}: {desc}" |
|
13 | > tglog = log -G --template "{rev}: {node|short} {desc}" | |
14 | > EOF |
|
14 | > EOF | |
15 |
|
15 | |||
16 | $ rebasewithdag() { |
|
16 | $ rebasewithdag() { | |
@@ -39,19 +39,19 b' Single branching point, without merge:' | |||||
39 | rebasing 3:d6003a550c2c "C" (C) |
|
39 | rebasing 3:d6003a550c2c "C" (C) | |
40 | rebasing 5:4526cf523425 "D" (D) |
|
40 | rebasing 5:4526cf523425 "D" (D) | |
41 | rebasing 6:b296604d9846 "E" (E tip) |
|
41 | rebasing 6:b296604d9846 "E" (E tip) | |
42 | o 6: E |
|
42 | o 6: 4870f5e7df37 E | |
43 | | |
|
43 | | | |
44 | | o 5: D |
|
44 | | o 5: dc999528138a D | |
45 | |/ |
|
45 | |/ | |
46 | o 4: C |
|
46 | o 4: 6b3e11729672 C | |
47 | | |
|
47 | | | |
48 | o 3: Z |
|
48 | o 3: 57e70bad1ea3 Z | |
49 | | |
|
49 | | | |
50 | | o 2: B |
|
50 | | o 2: c1e6b162678d B | |
51 | |/ |
|
51 | |/ | |
52 | o 1: A |
|
52 | o 1: 21a6c4502885 A | |
53 | | |
|
53 | | | |
54 | o 0: R |
|
54 | o 0: b41ce7760717 R | |
55 |
|
55 | |||
56 | Multiple branching points caused by selecting a single merge changeset: |
|
56 | Multiple branching points caused by selecting a single merge changeset: | |
57 |
|
57 | |||
@@ -69,19 +69,19 b' Multiple branching points caused by sele' | |||||
69 | rebasing 2:c1e6b162678d "B" (B) |
|
69 | rebasing 2:c1e6b162678d "B" (B) | |
70 | rebasing 3:d6003a550c2c "C" (C) |
|
70 | rebasing 3:d6003a550c2c "C" (C) | |
71 | rebasing 6:54c8f00cb91c "E" (E tip) |
|
71 | rebasing 6:54c8f00cb91c "E" (E tip) | |
72 | o 6: E |
|
72 | o 6: 00598421b616 E | |
73 | |\ |
|
73 | |\ | |
74 | | o 5: C |
|
74 | | o 5: 6b3e11729672 C | |
75 | | | |
|
75 | | | | |
76 | o | 4: B |
|
76 | o | 4: 85260910e847 B | |
77 | |/ |
|
77 | |/ | |
78 | o 3: Z |
|
78 | o 3: 57e70bad1ea3 Z | |
79 | | |
|
79 | | | |
80 | | o 2: D |
|
80 | | o 2: 8924700906fe D | |
81 | |/ |
|
81 | |/ | |
82 | o 1: A |
|
82 | o 1: 21a6c4502885 A | |
83 | | |
|
83 | | | |
84 | o 0: R |
|
84 | o 0: b41ce7760717 R | |
85 |
|
85 | |||
86 | Rebase should not extend the "--base" revset using "descendants": |
|
86 | Rebase should not extend the "--base" revset using "descendants": | |
87 |
|
87 | |||
@@ -96,17 +96,17 b' Rebase should not extend the "--base" re' | |||||
96 | > EOS |
|
96 | > EOS | |
97 | rebasing 2:c1e6b162678d "B" (B) |
|
97 | rebasing 2:c1e6b162678d "B" (B) | |
98 | rebasing 5:54c8f00cb91c "E" (E tip) |
|
98 | rebasing 5:54c8f00cb91c "E" (E tip) | |
99 | o 5: E |
|
99 | o 5: e583bf3ff54c E | |
100 | |\ |
|
100 | |\ | |
101 | | o 4: B |
|
101 | | o 4: 85260910e847 B | |
102 | | | |
|
102 | | | | |
103 | | o 3: Z |
|
103 | | o 3: 57e70bad1ea3 Z | |
104 | | | |
|
104 | | | | |
105 | o | 2: C |
|
105 | o | 2: d6003a550c2c C | |
106 | |/ |
|
106 | |/ | |
107 | o 1: A |
|
107 | o 1: 21a6c4502885 A | |
108 | | |
|
108 | | | |
109 | o 0: R |
|
109 | o 0: b41ce7760717 R | |
110 |
|
110 | |||
111 | Rebase should not simplify the "--base" revset using "roots": |
|
111 | Rebase should not simplify the "--base" revset using "roots": | |
112 |
|
112 | |||
@@ -122,17 +122,17 b' Rebase should not simplify the "--base" ' | |||||
122 | rebasing 2:c1e6b162678d "B" (B) |
|
122 | rebasing 2:c1e6b162678d "B" (B) | |
123 | rebasing 3:d6003a550c2c "C" (C) |
|
123 | rebasing 3:d6003a550c2c "C" (C) | |
124 | rebasing 5:54c8f00cb91c "E" (E tip) |
|
124 | rebasing 5:54c8f00cb91c "E" (E tip) | |
125 | o 5: E |
|
125 | o 5: 00598421b616 E | |
126 | |\ |
|
126 | |\ | |
127 | | o 4: C |
|
127 | | o 4: 6b3e11729672 C | |
128 | | | |
|
128 | | | | |
129 | o | 3: B |
|
129 | o | 3: 85260910e847 B | |
130 | |/ |
|
130 | |/ | |
131 | o 2: Z |
|
131 | o 2: 57e70bad1ea3 Z | |
132 | | |
|
132 | | | |
133 | o 1: A |
|
133 | o 1: 21a6c4502885 A | |
134 | | |
|
134 | | | |
135 | o 0: R |
|
135 | o 0: b41ce7760717 R | |
136 |
|
136 | |||
137 | The destination is one of the two branching points of a merge: |
|
137 | The destination is one of the two branching points of a merge: | |
138 |
|
138 | |||
@@ -173,31 +173,31 b' Multiple branching points caused by mult' | |||||
173 | rebasing 8:781512f5e33d "C2" (C2) |
|
173 | rebasing 8:781512f5e33d "C2" (C2) | |
174 | rebasing 9:428d8c18f641 "E1" (E1) |
|
174 | rebasing 9:428d8c18f641 "E1" (E1) | |
175 | rebasing 11:e1bf82f6b6df "E2" (E2) |
|
175 | rebasing 11:e1bf82f6b6df "E2" (E2) | |
176 | o 12: E2 |
|
176 | o 12: e4a37b6fdbd2 E2 | |
177 | | |
|
177 | | | |
178 | o 11: E1 |
|
178 | o 11: 9675bea983df E1 | |
179 | | |
|
179 | | | |
180 | | o 10: C2 |
|
180 | | o 10: 4faf5d4c80dc C2 | |
181 | | | |
|
181 | | | | |
182 | | o 9: C1 |
|
182 | | o 9: d4799b1ad57d C1 | |
183 | |/ |
|
183 | |/ | |
184 | | o 8: B2 |
|
184 | | o 8: 772732dc64d6 B2 | |
185 | | | |
|
185 | | | | |
186 | | o 7: B1 |
|
186 | | o 7: ad3ac528a49f B1 | |
187 | |/ |
|
187 | |/ | |
188 | o 6: Z |
|
188 | o 6: 2cbdfca6b9d5 Z | |
189 | | |
|
189 | | | |
190 | o 5: F |
|
190 | o 5: fcdb3293ec13 F | |
191 | | |
|
191 | | | |
192 | o 4: E |
|
192 | o 4: a4652bb8ac54 E | |
193 | | |
|
193 | | | |
194 | o 3: C |
|
194 | o 3: bd5548558fcf C | |
195 | | |
|
195 | | | |
196 | o 2: B |
|
196 | o 2: c1e6b162678d B | |
197 | | |
|
197 | | | |
198 | o 1: A |
|
198 | o 1: 21a6c4502885 A | |
199 | | |
|
199 | | | |
200 | o 0: R |
|
200 | o 0: b41ce7760717 R | |
201 |
|
201 | |||
202 | Multiple branching points with multiple merges: |
|
202 | Multiple branching points with multiple merges: | |
203 |
|
203 | |||
@@ -223,37 +223,37 b' Multiple branching points with multiple ' | |||||
223 | rebasing 11:d1f6d0c3c7e4 "M" (M) |
|
223 | rebasing 11:d1f6d0c3c7e4 "M" (M) | |
224 | rebasing 12:7aaec6f81888 "N" (N) |
|
224 | rebasing 12:7aaec6f81888 "N" (N) | |
225 | rebasing 15:325bc8f1760d "P" (P tip) |
|
225 | rebasing 15:325bc8f1760d "P" (P tip) | |
226 | o 15: P |
|
226 | o 15: 6ef6a0ea3b18 P | |
227 | |\ |
|
227 | |\ | |
228 | | o 14: N |
|
228 | | o 14: 20ba3610a7e5 N | |
229 | | |\ |
|
229 | | |\ | |
230 | o \ \ 13: M |
|
230 | o \ \ 13: cd4f6c06d2ab M | |
231 | |\ \ \ |
|
231 | |\ \ \ | |
232 | | | | o 12: L |
|
232 | | | | o 12: bca872041455 L | |
233 | | | | | |
|
233 | | | | | | |
234 | | | o | 11: K |
|
234 | | | o | 11: 7bbb6c8a6ad7 K | |
235 | | | |/ |
|
235 | | | |/ | |
236 | | o / 10: J |
|
236 | | o / 10: de0cbffe893e J | |
237 | | |/ |
|
237 | | |/ | |
238 | o / 9: I |
|
238 | o / 9: 0e710f176a88 I | |
239 | |/ |
|
239 | |/ | |
240 | | o 8: H |
|
240 | | o 8: 52507bab39ca H | |
241 | | |\ |
|
241 | | |\ | |
242 | | | | o 7: G |
|
242 | | | | o 7: bb5fe4652f0d G | |
243 | | | |/| |
|
243 | | | |/| | |
244 | | | | o 6: F |
|
244 | | | | o 6: f4ad4b31daf4 F | |
245 | | | | | |
|
245 | | | | | | |
246 | | | o | 5: E |
|
246 | | | o | 5: b168f85f2e78 E | |
247 | | | |/ |
|
247 | | | |/ | |
248 | | o | 4: D |
|
248 | | o | 4: 8d09fcdb5594 D | |
249 | | |\| |
|
249 | | |\| | |
250 | +---o 3: C |
|
250 | +---o 3: ab70b4c5a9c9 C | |
251 | | | |
|
251 | | | | |
252 | o | 2: Z |
|
252 | o | 2: 262e37e34f63 Z | |
253 | | | |
|
253 | | | | |
254 | | o 1: B |
|
254 | | o 1: 112478962961 B | |
255 | |/ |
|
255 | |/ | |
256 | o 0: A |
|
256 | o 0: 426bada5c675 A | |
257 |
|
257 | |||
258 | Slightly more complex merge case (mentioned in https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-November/091074.html): |
|
258 | Slightly more complex merge case (mentioned in https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-November/091074.html): | |
259 |
|
259 | |||
@@ -275,31 +275,31 b' Slightly more complex merge case (mentio' | |||||
275 | rebasing 11:4e449bd1a643 "A3" (A3) |
|
275 | rebasing 11:4e449bd1a643 "A3" (A3) | |
276 | rebasing 10:0a33b0519128 "B1" (B1) |
|
276 | rebasing 10:0a33b0519128 "B1" (B1) | |
277 | rebasing 12:209327807c3a "B3" (B3 tip) |
|
277 | rebasing 12:209327807c3a "B3" (B3 tip) | |
278 | o 12: B3 |
|
278 | o 12: ceb984566332 B3 | |
279 | |\ |
|
279 | |\ | |
280 | | o 11: B1 |
|
280 | | o 11: 19d93caac497 B1 | |
281 | | | |
|
281 | | | | |
282 | | | o 10: A3 |
|
282 | | | o 10: 058e73d3916b A3 | |
283 | | | |\ |
|
283 | | | |\ | |
284 | | +---o 9: A2 |
|
284 | | +---o 9: 0ba13ad72234 A2 | |
285 | | | | |
|
285 | | | | | |
286 | | o | 8: C1 |
|
286 | | o | 8: c122c2af10c6 C1 | |
287 | | | | |
|
287 | | | | | |
288 | o | | 7: B2 |
|
288 | o | | 7: 74275896650e B2 | |
289 | | | | |
|
289 | | | | | |
290 | | o | 6: C0 |
|
290 | | o | 6: 455ba9bd3ea2 C0 | |
291 | |/ / |
|
291 | |/ / | |
292 | o | 5: Z |
|
292 | o | 5: b3d7d2fda53b Z | |
293 | | | |
|
293 | | | | |
294 | o | 4: M3 |
|
294 | o | 4: 182ab6383dd7 M3 | |
295 | | | |
|
295 | | | | |
296 | o | 3: M2 |
|
296 | o | 3: 6c3f73563d5f M2 | |
297 | | | |
|
297 | | | | |
298 | | o 2: A1 |
|
298 | | o 2: 88c860fffcc2 A1 | |
299 | |/ |
|
299 | |/ | |
300 | o 1: M1 |
|
300 | o 1: bc852baa85dd M1 | |
301 | | |
|
301 | | | |
302 | o 0: M0 |
|
302 | o 0: dbdfc5c9bcd5 M0 | |
303 |
|
303 | |||
304 | Disconnected graph: |
|
304 | Disconnected graph: | |
305 |
|
305 | |||
@@ -320,15 +320,15 b' Multiple roots. Roots are ancestors of d' | |||||
320 | > EOF |
|
320 | > EOF | |
321 | rebasing 2:112478962961 "B" (B) |
|
321 | rebasing 2:112478962961 "B" (B) | |
322 | rebasing 3:b70f76719894 "D" (D) |
|
322 | rebasing 3:b70f76719894 "D" (D) | |
323 | o 4: D |
|
323 | o 4: 511efad7bf13 D | |
324 | | |
|
324 | | | |
325 | | o 3: B |
|
325 | | o 3: 25c4e279af62 B | |
326 | |/ |
|
326 | |/ | |
327 | o 2: Z |
|
327 | o 2: 3a49f54d7bb1 Z | |
328 | |\ |
|
328 | |\ | |
329 | | o 1: C |
|
329 | | o 1: 96cc3511f894 C | |
330 | | |
|
330 | | | |
331 | o 0: A |
|
331 | o 0: 426bada5c675 A | |
332 |
|
332 | |||
333 | Multiple roots. One root is not an ancestor of dest: |
|
333 | Multiple roots. One root is not an ancestor of dest: | |
334 |
|
334 | |||
@@ -351,17 +351,17 b' Multiple roots. One root is not an ances' | |||||
351 | > EOF |
|
351 | > EOF | |
352 | rebasing 2:f675d5a1c6a4 "B" (B) |
|
352 | rebasing 2:f675d5a1c6a4 "B" (B) | |
353 | rebasing 5:f68696fe6af8 "E" (E tip) |
|
353 | rebasing 5:f68696fe6af8 "E" (E tip) | |
354 | o 5: E |
|
354 | o 5: f6e6f5081554 E | |
355 | |\ |
|
355 | |\ | |
356 | | o 4: B |
|
356 | | o 4: 30cabcba27be B | |
357 | | |\ |
|
357 | | |\ | |
358 | | | o 3: Z |
|
358 | | | o 3: 262e37e34f63 Z | |
359 | | | | |
|
359 | | | | | |
360 | o | | 2: D |
|
360 | o | | 2: b70f76719894 D | |
361 | |/ / |
|
361 | |/ / | |
362 | o / 1: C |
|
362 | o / 1: 96cc3511f894 C | |
363 | / |
|
363 | / | |
364 | o 0: A |
|
364 | o 0: 426bada5c675 A | |
365 |
|
365 | |||
366 | Multiple roots. Two children share two parents while dest has only one parent: |
|
366 | Multiple roots. Two children share two parents while dest has only one parent: | |
367 |
|
367 | |||
@@ -372,13 +372,13 b' Multiple roots. Two children share two p' | |||||
372 | > EOF |
|
372 | > EOF | |
373 | rebasing 2:f675d5a1c6a4 "B" (B) |
|
373 | rebasing 2:f675d5a1c6a4 "B" (B) | |
374 | rebasing 3:c2a779e13b56 "D" (D) |
|
374 | rebasing 3:c2a779e13b56 "D" (D) | |
375 | o 4: D |
|
375 | o 4: 5eecd056b5f8 D | |
376 | |\ |
|
376 | |\ | |
377 | +---o 3: B |
|
377 | +---o 3: 30cabcba27be B | |
378 | | |/ |
|
378 | | |/ | |
379 | | o 2: Z |
|
379 | | o 2: 262e37e34f63 Z | |
380 | | | |
|
380 | | | | |
381 | o | 1: C |
|
381 | o | 1: 96cc3511f894 C | |
382 | / |
|
382 | / | |
383 | o 0: A |
|
383 | o 0: 426bada5c675 A | |
384 |
|
384 |
@@ -7,7 +7,7 b'' | |||||
7 | > publish=False |
|
7 | > publish=False | |
8 | > |
|
8 | > | |
9 | > [alias] |
|
9 | > [alias] | |
10 | > tglog = log -G --template "{rev}: '{desc}' bookmarks: {bookmarks}\n" |
|
10 | > tglog = log -G --template "{rev}: {node|short} '{desc}' bookmarks: {bookmarks}\n" | |
11 | > EOF |
|
11 | > EOF | |
12 |
|
12 | |||
13 | Create a repo with several bookmarks |
|
13 | Create a repo with several bookmarks | |
@@ -39,13 +39,13 b' Create a repo with several bookmarks' | |||||
39 | $ hg book W |
|
39 | $ hg book W | |
40 |
|
40 | |||
41 | $ hg tglog |
|
41 | $ hg tglog | |
42 | @ 3: 'D' bookmarks: W |
|
42 | @ 3: 41acb9dca9eb 'D' bookmarks: W | |
43 | | |
|
43 | | | |
44 | | o 2: 'C' bookmarks: Y Z |
|
44 | | o 2: 49cb3485fa0c 'C' bookmarks: Y Z | |
45 | | | |
|
45 | | | | |
46 | | o 1: 'B' bookmarks: X |
|
46 | | o 1: 6c81ed0049f8 'B' bookmarks: X | |
47 | |/ |
|
47 | |/ | |
48 | o 0: 'A' bookmarks: |
|
48 | o 0: 1994f17a630e 'A' bookmarks: | |
49 |
|
49 | |||
50 |
|
50 | |||
51 | Move only rebased bookmarks |
|
51 | Move only rebased bookmarks | |
@@ -66,26 +66,26 b' Test deleting divergent bookmarks from d' | |||||
66 | $ hg book -r 0 Y@diverge |
|
66 | $ hg book -r 0 Y@diverge | |
67 |
|
67 | |||
68 | $ hg tglog |
|
68 | $ hg tglog | |
69 | o 3: 'D' bookmarks: W X@diverge Z@diverge |
|
69 | o 3: 41acb9dca9eb 'D' bookmarks: W X@diverge Z@diverge | |
70 | | |
|
70 | | | |
71 | | @ 2: 'C' bookmarks: Y Z |
|
71 | | @ 2: 49cb3485fa0c 'C' bookmarks: Y Z | |
72 | | | |
|
72 | | | | |
73 | | o 1: 'B' bookmarks: X |
|
73 | | o 1: 6c81ed0049f8 'B' bookmarks: X | |
74 | |/ |
|
74 | |/ | |
75 | o 0: 'A' bookmarks: Y@diverge |
|
75 | o 0: 1994f17a630e 'A' bookmarks: Y@diverge | |
76 |
|
76 | |||
77 | $ hg rebase -s Y -d 3 |
|
77 | $ hg rebase -s Y -d 3 | |
78 | rebasing 2:49cb3485fa0c "C" (Y Z) |
|
78 | rebasing 2:49cb3485fa0c "C" (Y Z) | |
79 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg (glob) |
|
79 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg (glob) | |
80 |
|
80 | |||
81 | $ hg tglog |
|
81 | $ hg tglog | |
82 | @ 3: 'C' bookmarks: Y Z |
|
82 | @ 3: 17fb3faba63c 'C' bookmarks: Y Z | |
83 | | |
|
83 | | | |
84 | o 2: 'D' bookmarks: W X@diverge |
|
84 | o 2: 41acb9dca9eb 'D' bookmarks: W X@diverge | |
85 | | |
|
85 | | | |
86 | | o 1: 'B' bookmarks: X |
|
86 | | o 1: 6c81ed0049f8 'B' bookmarks: X | |
87 | |/ |
|
87 | |/ | |
88 | o 0: 'A' bookmarks: Y@diverge |
|
88 | o 0: 1994f17a630e 'A' bookmarks: Y@diverge | |
89 |
|
89 | |||
90 | Do not try to keep active but deleted divergent bookmark |
|
90 | Do not try to keep active but deleted divergent bookmark | |
91 |
|
91 | |||
@@ -120,13 +120,13 b' Keep bookmarks to the correct rebased ch' | |||||
120 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg (glob) |
|
120 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg (glob) | |
121 |
|
121 | |||
122 | $ hg tglog |
|
122 | $ hg tglog | |
123 | @ 3: 'C' bookmarks: Y Z |
|
123 | @ 3: 3d5fa227f4b5 'C' bookmarks: Y Z | |
124 | | |
|
124 | | | |
125 | o 2: 'B' bookmarks: X |
|
125 | o 2: e926fccfa8ec 'B' bookmarks: X | |
126 | | |
|
126 | | | |
127 | o 1: 'D' bookmarks: W |
|
127 | o 1: 41acb9dca9eb 'D' bookmarks: W | |
128 | | |
|
128 | | | |
129 | o 0: 'A' bookmarks: |
|
129 | o 0: 1994f17a630e 'A' bookmarks: | |
130 |
|
130 | |||
131 |
|
131 | |||
132 | Keep active bookmark on the correct changeset |
|
132 | Keep active bookmark on the correct changeset | |
@@ -143,13 +143,13 b' Keep active bookmark on the correct chan' | |||||
143 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg (glob) |
|
143 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg (glob) | |
144 |
|
144 | |||
145 | $ hg tglog |
|
145 | $ hg tglog | |
146 | o 3: 'C' bookmarks: Y Z |
|
146 | o 3: 3d5fa227f4b5 'C' bookmarks: Y Z | |
147 | | |
|
147 | | | |
148 | @ 2: 'B' bookmarks: X |
|
148 | @ 2: e926fccfa8ec 'B' bookmarks: X | |
149 | | |
|
149 | | | |
150 | o 1: 'D' bookmarks: W |
|
150 | o 1: 41acb9dca9eb 'D' bookmarks: W | |
151 | | |
|
151 | | | |
152 | o 0: 'A' bookmarks: |
|
152 | o 0: 1994f17a630e 'A' bookmarks: | |
153 |
|
153 | |||
154 | $ hg bookmarks |
|
154 | $ hg bookmarks | |
155 | W 1:41acb9dca9eb |
|
155 | W 1:41acb9dca9eb | |
@@ -182,15 +182,15 b' rebase --continue with bookmarks present' | |||||
182 | rebasing 3:3d5fa227f4b5 "C" (Y Z) |
|
182 | rebasing 3:3d5fa227f4b5 "C" (Y Z) | |
183 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg (glob) |
|
183 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg (glob) | |
184 | $ hg tglog |
|
184 | $ hg tglog | |
185 | @ 4: 'C' bookmarks: Y Z |
|
185 | @ 4: 45c0f0ec1203 'C' bookmarks: Y Z | |
186 | | |
|
186 | | | |
187 | o 3: 'other C' bookmarks: |
|
187 | o 3: b0e10b7175fd 'other C' bookmarks: | |
188 | | |
|
188 | | | |
189 | o 2: 'B' bookmarks: X |
|
189 | o 2: e926fccfa8ec 'B' bookmarks: X | |
190 | | |
|
190 | | | |
191 | o 1: 'D' bookmarks: W |
|
191 | o 1: 41acb9dca9eb 'D' bookmarks: W | |
192 | | |
|
192 | | | |
193 | o 0: 'A' bookmarks: |
|
193 | o 0: 1994f17a630e 'A' bookmarks: | |
194 |
|
194 | |||
195 |
|
195 | |||
196 | ensure that bookmarks given the names of revset functions can be used |
|
196 | ensure that bookmarks given the names of revset functions can be used | |
@@ -225,21 +225,21 b' Bookmark and working parent get moved ev' | |||||
225 | $ rm .hg/localtags |
|
225 | $ rm .hg/localtags | |
226 | $ hg up -q B |
|
226 | $ hg up -q B | |
227 | $ hg tglog |
|
227 | $ hg tglog | |
228 | o 2: 'C' bookmarks: C |
|
228 | o 2: dc0947a82db8 'C' bookmarks: C | |
229 | | |
|
229 | | | |
230 | | @ 1: 'B' bookmarks: B |
|
230 | | @ 1: 112478962961 'B' bookmarks: B | |
231 | |/ |
|
231 | |/ | |
232 | o 0: 'A' bookmarks: A |
|
232 | o 0: 426bada5c675 'A' bookmarks: A | |
233 |
|
233 | |||
234 | $ hg rebase -r B -d C --keep |
|
234 | $ hg rebase -r B -d C --keep | |
235 | rebasing 1:112478962961 "B" (B) |
|
235 | rebasing 1:112478962961 "B" (B) | |
236 | $ hg tglog |
|
236 | $ hg tglog | |
237 | @ 3: 'B' bookmarks: B |
|
237 | @ 3: 9769fc65c4c5 'B' bookmarks: B | |
238 | | |
|
238 | | | |
239 | o 2: 'C' bookmarks: C |
|
239 | o 2: dc0947a82db8 'C' bookmarks: C | |
240 | | |
|
240 | | | |
241 | | o 1: 'B' bookmarks: |
|
241 | | o 1: 112478962961 'B' bookmarks: | |
242 | |/ |
|
242 | |/ | |
243 | o 0: 'A' bookmarks: A |
|
243 | o 0: 426bada5c675 'A' bookmarks: A | |
244 |
|
244 | |||
245 |
|
245 |
@@ -7,8 +7,8 b'' | |||||
7 | > publish=False |
|
7 | > publish=False | |
8 | > |
|
8 | > | |
9 | > [alias] |
|
9 | > [alias] | |
10 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
10 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
11 | > tglogp = log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
|
11 | > tglogp = log -G --template "{rev}: {node|short} {phase} '{desc}' {branches}\n" | |
12 | > EOF |
|
12 | > EOF | |
13 |
|
13 | |||
14 | Create repo a: |
|
14 | Create repo a: | |
@@ -26,21 +26,21 b' Create repo a:' | |||||
26 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
26 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
27 |
|
27 | |||
28 | $ hg tglog |
|
28 | $ hg tglog | |
29 | @ 7: 'H' |
|
29 | @ 7: 02de42196ebe 'H' | |
30 | | |
|
30 | | | |
31 | | o 6: 'G' |
|
31 | | o 6: eea13746799a 'G' | |
32 | |/| |
|
32 | |/| | |
33 | o | 5: 'F' |
|
33 | o | 5: 24b6387c8c8c 'F' | |
34 | | | |
|
34 | | | | |
35 | | o 4: 'E' |
|
35 | | o 4: 9520eea781bc 'E' | |
36 | |/ |
|
36 | |/ | |
37 | | o 3: 'D' |
|
37 | | o 3: 32af7686d403 'D' | |
38 | | | |
|
38 | | | | |
39 | | o 2: 'C' |
|
39 | | o 2: 5fddd98957c8 'C' | |
40 | | | |
|
40 | | | | |
41 | | o 1: 'B' |
|
41 | | o 1: 42ccdea3bb16 'B' | |
42 | |/ |
|
42 | |/ | |
43 | o 0: 'A' |
|
43 | o 0: cd010b8cd998 'A' | |
44 |
|
44 | |||
45 | $ cd .. |
|
45 | $ cd .. | |
46 |
|
46 | |||
@@ -82,22 +82,22 b' Rebasing B onto H and collapsing changes' | |||||
82 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
82 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
83 |
|
83 | |||
84 | $ hg tglogp |
|
84 | $ hg tglogp | |
85 | @ 5:secret 'Collapsed revision |
|
85 | @ 5: 30882080ba93 secret 'Collapsed revision | |
86 | | * B |
|
86 | | * B | |
87 | | * C |
|
87 | | * C | |
88 | | * D |
|
88 | | * D | |
89 | | |
|
89 | | | |
90 | | |
|
90 | | | |
91 | | edited manually' |
|
91 | | edited manually' | |
92 | o 4:draft 'H' |
|
92 | o 4: 02de42196ebe draft 'H' | |
93 | | |
|
93 | | | |
94 | | o 3:draft 'G' |
|
94 | | o 3: eea13746799a draft 'G' | |
95 | |/| |
|
95 | |/| | |
96 | o | 2:draft 'F' |
|
96 | o | 2: 24b6387c8c8c draft 'F' | |
97 | | | |
|
97 | | | | |
98 | | o 1:draft 'E' |
|
98 | | o 1: 9520eea781bc draft 'E' | |
99 | |/ |
|
99 | |/ | |
100 | o 0:draft 'A' |
|
100 | o 0: cd010b8cd998 draft 'A' | |
101 |
|
101 | |||
102 | $ hg manifest --rev tip |
|
102 | $ hg manifest --rev tip | |
103 | A |
|
103 | A | |
@@ -122,20 +122,20 b' Rebasing E onto H:' | |||||
122 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg (glob) |
|
122 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg (glob) | |
123 |
|
123 | |||
124 | $ hg tglog |
|
124 | $ hg tglog | |
125 | o 6: 'Collapsed revision |
|
125 | o 6: 7dd333a2d1e4 'Collapsed revision | |
126 | | * E |
|
126 | | * E | |
127 | | * G' |
|
127 | | * G' | |
128 | @ 5: 'H' |
|
128 | @ 5: 02de42196ebe 'H' | |
129 | | |
|
129 | | | |
130 | o 4: 'F' |
|
130 | o 4: 24b6387c8c8c 'F' | |
131 | | |
|
131 | | | |
132 | | o 3: 'D' |
|
132 | | o 3: 32af7686d403 'D' | |
133 | | | |
|
133 | | | | |
134 | | o 2: 'C' |
|
134 | | o 2: 5fddd98957c8 'C' | |
135 | | | |
|
135 | | | | |
136 | | o 1: 'B' |
|
136 | | o 1: 42ccdea3bb16 'B' | |
137 | |/ |
|
137 | |/ | |
138 | o 0: 'A' |
|
138 | o 0: cd010b8cd998 'A' | |
139 |
|
139 | |||
140 | $ hg manifest --rev tip |
|
140 | $ hg manifest --rev tip | |
141 | A |
|
141 | A | |
@@ -165,19 +165,19 b' Rebasing G onto H with custom message:' | |||||
165 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg (glob) |
|
165 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg (glob) | |
166 |
|
166 | |||
167 | $ hg tglog |
|
167 | $ hg tglog | |
168 | o 6: 'custom message' |
|
168 | o 6: 38ed6a6b026b 'custom message' | |
169 | | |
|
169 | | | |
170 | @ 5: 'H' |
|
170 | @ 5: 02de42196ebe 'H' | |
171 | | |
|
171 | | | |
172 | o 4: 'F' |
|
172 | o 4: 24b6387c8c8c 'F' | |
173 | | |
|
173 | | | |
174 | | o 3: 'D' |
|
174 | | o 3: 32af7686d403 'D' | |
175 | | | |
|
175 | | | | |
176 | | o 2: 'C' |
|
176 | | o 2: 5fddd98957c8 'C' | |
177 | | | |
|
177 | | | | |
178 | | o 1: 'B' |
|
178 | | o 1: 42ccdea3bb16 'B' | |
179 | |/ |
|
179 | |/ | |
180 | o 0: 'A' |
|
180 | o 0: cd010b8cd998 'A' | |
181 |
|
181 | |||
182 | $ hg manifest --rev tip |
|
182 | $ hg manifest --rev tip | |
183 | A |
|
183 | A | |
@@ -238,21 +238,21 b' Create repo b:' | |||||
238 | created new head |
|
238 | created new head | |
239 |
|
239 | |||
240 | $ hg tglog |
|
240 | $ hg tglog | |
241 | @ 7: 'H' |
|
241 | @ 7: c65502d41787 'H' | |
242 | | |
|
242 | | | |
243 | | o 6: 'G' |
|
243 | | o 6: c772a8b2dc17 'G' | |
244 | | |\ |
|
244 | | |\ | |
245 | | | o 5: 'F' |
|
245 | | | o 5: 7f219660301f 'F' | |
246 | | | | |
|
246 | | | | | |
247 | | | o 4: 'E' |
|
247 | | | o 4: 8a5212ebc852 'E' | |
248 | | | | |
|
248 | | | | | |
249 | | o | 3: 'D' |
|
249 | | o | 3: 2870ad076e54 'D' | |
250 | | |\| |
|
250 | | |\| | |
251 | | o | 2: 'C' |
|
251 | | o | 2: c5cefa58fd55 'C' | |
252 | |/ / |
|
252 | |/ / | |
253 | | o 1: 'B' |
|
253 | | o 1: 27547f69f254 'B' | |
254 | |/ |
|
254 | |/ | |
255 | o 0: 'A' |
|
255 | o 0: 4a2df7238c3b 'A' | |
256 |
|
256 | |||
257 | $ cd .. |
|
257 | $ cd .. | |
258 |
|
258 | |||
@@ -275,19 +275,19 b' Rebase and collapse - E onto H:' | |||||
275 | saved backup bundle to $TESTTMP/b1/.hg/strip-backup/8a5212ebc852-75046b61-rebase.hg (glob) |
|
275 | saved backup bundle to $TESTTMP/b1/.hg/strip-backup/8a5212ebc852-75046b61-rebase.hg (glob) | |
276 |
|
276 | |||
277 | $ hg tglog |
|
277 | $ hg tglog | |
278 | o 5: 'Collapsed revision |
|
278 | o 5: f97c4725bd99 'Collapsed revision | |
279 | |\ * E |
|
279 | |\ * E | |
280 | | | * F |
|
280 | | | * F | |
281 | | | * G' |
|
281 | | | * G' | |
282 | | @ 4: 'H' |
|
282 | | @ 4: c65502d41787 'H' | |
283 | | | |
|
283 | | | | |
284 | o | 3: 'D' |
|
284 | o | 3: 2870ad076e54 'D' | |
285 | |\ \ |
|
285 | |\ \ | |
286 | | o | 2: 'C' |
|
286 | | o | 2: c5cefa58fd55 'C' | |
287 | | |/ |
|
287 | | |/ | |
288 | o / 1: 'B' |
|
288 | o / 1: 27547f69f254 'B' | |
289 | |/ |
|
289 | |/ | |
290 | o 0: 'A' |
|
290 | o 0: 4a2df7238c3b 'A' | |
291 |
|
291 | |||
292 | $ hg manifest --rev tip |
|
292 | $ hg manifest --rev tip | |
293 | A |
|
293 | A | |
@@ -393,23 +393,23 b' Create repo c:' | |||||
393 | created new head |
|
393 | created new head | |
394 |
|
394 | |||
395 | $ hg tglog |
|
395 | $ hg tglog | |
396 | @ 8: 'I' |
|
396 | @ 8: 46d6f0e29c20 'I' | |
397 | | |
|
397 | | | |
398 | | o 7: 'H' |
|
398 | | o 7: 417d3b648079 'H' | |
399 | | |\ |
|
399 | | |\ | |
400 | | | o 6: 'G' |
|
400 | | | o 6: 55a44ad28289 'G' | |
401 | | | | |
|
401 | | | | | |
402 | | | o 5: 'F' |
|
402 | | | o 5: dca5924bb570 'F' | |
403 | | | | |
|
403 | | | | | |
404 | | | o 4: 'E' |
|
404 | | | o 4: 8a5212ebc852 'E' | |
405 | | | | |
|
405 | | | | | |
406 | | o | 3: 'D' |
|
406 | | o | 3: 2870ad076e54 'D' | |
407 | | |\| |
|
407 | | |\| | |
408 | | o | 2: 'C' |
|
408 | | o | 2: c5cefa58fd55 'C' | |
409 | |/ / |
|
409 | |/ / | |
410 | | o 1: 'B' |
|
410 | | o 1: 27547f69f254 'B' | |
411 | |/ |
|
411 | |/ | |
412 | o 0: 'A' |
|
412 | o 0: 4a2df7238c3b 'A' | |
413 |
|
413 | |||
414 | $ cd .. |
|
414 | $ cd .. | |
415 |
|
415 | |||
@@ -428,20 +428,20 b' Rebase and collapse - E onto I:' | |||||
428 | saved backup bundle to $TESTTMP/c1/.hg/strip-backup/8a5212ebc852-f95d0879-rebase.hg (glob) |
|
428 | saved backup bundle to $TESTTMP/c1/.hg/strip-backup/8a5212ebc852-f95d0879-rebase.hg (glob) | |
429 |
|
429 | |||
430 | $ hg tglog |
|
430 | $ hg tglog | |
431 | o 5: 'Collapsed revision |
|
431 | o 5: 340b34a63b39 'Collapsed revision | |
432 | |\ * E |
|
432 | |\ * E | |
433 | | | * F |
|
433 | | | * F | |
434 | | | * G |
|
434 | | | * G | |
435 | | | * H' |
|
435 | | | * H' | |
436 | | @ 4: 'I' |
|
436 | | @ 4: 46d6f0e29c20 'I' | |
437 | | | |
|
437 | | | | |
438 | o | 3: 'D' |
|
438 | o | 3: 2870ad076e54 'D' | |
439 | |\ \ |
|
439 | |\ \ | |
440 | | o | 2: 'C' |
|
440 | | o | 2: c5cefa58fd55 'C' | |
441 | | |/ |
|
441 | | |/ | |
442 | o / 1: 'B' |
|
442 | o / 1: 27547f69f254 'B' | |
443 | |/ |
|
443 | |/ | |
444 | o 0: 'A' |
|
444 | o 0: 4a2df7238c3b 'A' | |
445 |
|
445 | |||
446 | $ hg manifest --rev tip |
|
446 | $ hg manifest --rev tip | |
447 | A |
|
447 | A | |
@@ -493,17 +493,17 b' Create repo d:' | |||||
493 | created new head |
|
493 | created new head | |
494 |
|
494 | |||
495 | $ hg tglog |
|
495 | $ hg tglog | |
496 | @ 5: 'F' |
|
496 | @ 5: c137c2b8081f 'F' | |
497 | | |
|
497 | | | |
498 | | o 4: 'E' |
|
498 | | o 4: 0a42590ed746 'E' | |
499 | | |\ |
|
499 | | |\ | |
500 | | | o 3: 'D' |
|
500 | | | o 3: 7bbcd6078bcc 'D' | |
501 | | | | |
|
501 | | | | | |
502 | | o | 2: 'C' |
|
502 | | o | 2: f838bfaca5c7 'C' | |
503 | | |/ |
|
503 | | |/ | |
504 | | o 1: 'B' |
|
504 | | o 1: 27547f69f254 'B' | |
505 | |/ |
|
505 | |/ | |
506 | o 0: 'A' |
|
506 | o 0: 4a2df7238c3b 'A' | |
507 |
|
507 | |||
508 | $ cd .. |
|
508 | $ cd .. | |
509 |
|
509 | |||
@@ -521,14 +521,14 b' Rebase and collapse - B onto F:' | |||||
521 | saved backup bundle to $TESTTMP/d1/.hg/strip-backup/27547f69f254-9a3f7d92-rebase.hg (glob) |
|
521 | saved backup bundle to $TESTTMP/d1/.hg/strip-backup/27547f69f254-9a3f7d92-rebase.hg (glob) | |
522 |
|
522 | |||
523 | $ hg tglog |
|
523 | $ hg tglog | |
524 | o 2: 'Collapsed revision |
|
524 | o 2: b72eaccb283f 'Collapsed revision | |
525 | | * B |
|
525 | | * B | |
526 | | * C |
|
526 | | * C | |
527 | | * D |
|
527 | | * D | |
528 | | * E' |
|
528 | | * E' | |
529 | @ 1: 'F' |
|
529 | @ 1: c137c2b8081f 'F' | |
530 | | |
|
530 | | | |
531 | o 0: 'A' |
|
531 | o 0: 4a2df7238c3b 'A' | |
532 |
|
532 | |||
533 | $ hg manifest --rev tip |
|
533 | $ hg manifest --rev tip | |
534 | A |
|
534 | A | |
@@ -564,13 +564,13 b' Interactions between collapse and keepbr' | |||||
564 | adding d |
|
564 | adding d | |
565 |
|
565 | |||
566 | $ hg tglog |
|
566 | $ hg tglog | |
567 | @ 3: 'D' |
|
567 | @ 3: 41acb9dca9eb 'D' | |
568 | | |
|
568 | | | |
569 | | o 2: 'C' two |
|
569 | | o 2: 8ac4a08debf1 'C' two | |
570 | | | |
|
570 | | | | |
571 | | o 1: 'B' one |
|
571 | | o 1: 1ba175478953 'B' one | |
572 | |/ |
|
572 | |/ | |
573 | o 0: 'A' |
|
573 | o 0: 1994f17a630e 'A' | |
574 |
|
574 | |||
575 | $ hg rebase --keepbranches --collapse -s 1 -d 3 |
|
575 | $ hg rebase --keepbranches --collapse -s 1 -d 3 | |
576 | abort: cannot collapse multiple named branches |
|
576 | abort: cannot collapse multiple named branches | |
@@ -588,32 +588,32 b' Interactions between collapse and keepbr' | |||||
588 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
588 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
589 | created new head |
|
589 | created new head | |
590 | $ hg tglog |
|
590 | $ hg tglog | |
591 | @ 5: 'E' |
|
591 | @ 5: fbfb97b1089a 'E' | |
592 | | |
|
592 | | | |
593 | | o 4: 'E' |
|
593 | | o 4: f338eb3c2c7c 'E' | |
594 | |/ |
|
594 | |/ | |
595 | o 3: 'D' |
|
595 | o 3: 41acb9dca9eb 'D' | |
596 | | |
|
596 | | | |
597 | | o 2: 'C' two |
|
597 | | o 2: 8ac4a08debf1 'C' two | |
598 | | | |
|
598 | | | | |
599 | | o 1: 'B' one |
|
599 | | o 1: 1ba175478953 'B' one | |
600 | |/ |
|
600 | |/ | |
601 | o 0: 'A' |
|
601 | o 0: 1994f17a630e 'A' | |
602 |
|
602 | |||
603 | $ hg rebase -s 5 -d 4 |
|
603 | $ hg rebase -s 5 -d 4 | |
604 | rebasing 5:fbfb97b1089a "E" (tip) |
|
604 | rebasing 5:fbfb97b1089a "E" (tip) | |
605 | note: rebase of 5:fbfb97b1089a created no changes to commit |
|
605 | note: rebase of 5:fbfb97b1089a created no changes to commit | |
606 | saved backup bundle to $TESTTMP/e/.hg/strip-backup/fbfb97b1089a-553e1d85-rebase.hg (glob) |
|
606 | saved backup bundle to $TESTTMP/e/.hg/strip-backup/fbfb97b1089a-553e1d85-rebase.hg (glob) | |
607 | $ hg tglog |
|
607 | $ hg tglog | |
608 | @ 4: 'E' |
|
608 | @ 4: f338eb3c2c7c 'E' | |
609 | | |
|
609 | | | |
610 | o 3: 'D' |
|
610 | o 3: 41acb9dca9eb 'D' | |
611 | | |
|
611 | | | |
612 | | o 2: 'C' two |
|
612 | | o 2: 8ac4a08debf1 'C' two | |
613 | | | |
|
613 | | | | |
614 | | o 1: 'B' one |
|
614 | | o 1: 1ba175478953 'B' one | |
615 | |/ |
|
615 | |/ | |
616 | o 0: 'A' |
|
616 | o 0: 1994f17a630e 'A' | |
617 |
|
617 | |||
618 | $ hg export tip |
|
618 | $ hg export tip | |
619 | # HG changeset patch |
|
619 | # HG changeset patch | |
@@ -646,13 +646,13 b' Rebase, collapse and copies' | |||||
646 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
646 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
647 | $ hg up -q tip |
|
647 | $ hg up -q tip | |
648 | $ hg tglog |
|
648 | $ hg tglog | |
649 | @ 3: 'move2' |
|
649 | @ 3: 338e84e2e558 'move2' | |
650 | | |
|
650 | | | |
651 | o 2: 'move1' |
|
651 | o 2: 6e7340ee38c0 'move1' | |
652 | | |
|
652 | | | |
653 | | o 1: 'change' |
|
653 | | o 1: 1352765a01d4 'change' | |
654 | |/ |
|
654 | |/ | |
655 | o 0: 'add' |
|
655 | o 0: f447d5abf5ea 'add' | |
656 |
|
656 | |||
657 | $ hg rebase --collapse -d 1 |
|
657 | $ hg rebase --collapse -d 1 | |
658 | rebasing 2:6e7340ee38c0 "move1" |
|
658 | rebasing 2:6e7340ee38c0 "move1" | |
@@ -686,12 +686,12 b' Rebase, collapse and copies' | |||||
686 | Test collapsing a middle revision in-place |
|
686 | Test collapsing a middle revision in-place | |
687 |
|
687 | |||
688 | $ hg tglog |
|
688 | $ hg tglog | |
689 | @ 2: 'Collapsed revision |
|
689 | @ 2: 64b456429f67 'Collapsed revision | |
690 | | * move1 |
|
690 | | * move1 | |
691 | | * move2' |
|
691 | | * move2' | |
692 | o 1: 'change' |
|
692 | o 1: 1352765a01d4 'change' | |
693 | | |
|
693 | | | |
694 | o 0: 'add' |
|
694 | o 0: f447d5abf5ea 'add' | |
695 |
|
695 | |||
696 | $ hg rebase --collapse -r 1 -d 0 |
|
696 | $ hg rebase --collapse -r 1 -d 0 | |
697 | abort: can't remove original changesets with unrebased descendants |
|
697 | abort: can't remove original changesets with unrebased descendants | |
@@ -748,11 +748,11 b' Test stripping a revision with another c' | |||||
748 | created new head |
|
748 | created new head | |
749 |
|
749 | |||
750 | $ hg tglog |
|
750 | $ hg tglog | |
751 | @ 2: 'C' |
|
751 | @ 2: c5cefa58fd55 'C' | |
752 | | |
|
752 | | | |
753 | | o 1: 'B' |
|
753 | | o 1: 27547f69f254 'B' | |
754 | |/ |
|
754 | |/ | |
755 | o 0: 'A' |
|
755 | o 0: 4a2df7238c3b 'A' | |
756 |
|
756 | |||
757 |
|
757 | |||
758 |
|
758 | |||
@@ -765,9 +765,9 b' Test stripping a revision with another c' | |||||
765 | saved backup bundle to $TESTTMP/f/.hg/strip-backup/c5cefa58fd55-629429f4-backup.hg (glob) |
|
765 | saved backup bundle to $TESTTMP/f/.hg/strip-backup/c5cefa58fd55-629429f4-backup.hg (glob) | |
766 |
|
766 | |||
767 | $ hg tglog |
|
767 | $ hg tglog | |
768 | o 1: 'B' |
|
768 | o 1: 27547f69f254 'B' | |
769 | | |
|
769 | | | |
770 | @ 0: 'A' |
|
770 | @ 0: 4a2df7238c3b 'A' | |
771 |
|
771 | |||
772 |
|
772 | |||
773 |
|
773 |
@@ -111,7 +111,7 b' Setup rebase with multiple destinations' | |||||
111 | > [phases] |
|
111 | > [phases] | |
112 | > publish=False |
|
112 | > publish=False | |
113 | > [alias] |
|
113 | > [alias] | |
114 | > tglog = log -G --template "{rev}: {desc} {instabilities}" -r 'sort(all(), topo)' |
|
114 | > tglog = log -G --template "{rev}: {node|short} {desc} {instabilities}" -r 'sort(all(), topo)' | |
115 | > [extensions] |
|
115 | > [extensions] | |
116 | > maprevset=$TESTTMP/maprevset.py |
|
116 | > maprevset=$TESTTMP/maprevset.py | |
117 | > [experimental] |
|
117 | > [experimental] | |
@@ -174,13 +174,13 b' Rebase to null should work:' | |||||
174 | already rebased 0:426bada5c675 "A" (A) |
|
174 | already rebased 0:426bada5c675 "A" (A) | |
175 | already rebased 2:dc0947a82db8 "C" (C) |
|
175 | already rebased 2:dc0947a82db8 "C" (C) | |
176 | rebasing 3:004dc1679908 "D" (D tip) |
|
176 | rebasing 3:004dc1679908 "D" (D tip) | |
177 | o 4: D |
|
177 | o 4: d8d8601abd5e D | |
178 |
|
178 | |||
179 | o 2: C |
|
179 | o 2: dc0947a82db8 C | |
180 | | |
|
180 | | | |
181 | | o 1: B |
|
181 | | o 1: fc2b737bb2e5 B | |
182 | | |
|
182 | | | |
183 | o 0: A |
|
183 | o 0: 426bada5c675 A | |
184 |
|
184 | |||
185 | Destination resolves to multiple changesets: |
|
185 | Destination resolves to multiple changesets: | |
186 |
|
186 | |||
@@ -219,17 +219,17 b' Switch roots:' | |||||
219 | rebasing 4:26805aba1e60 "C" (C) |
|
219 | rebasing 4:26805aba1e60 "C" (C) | |
220 | rebasing 3:cd488e83d208 "E" (E) |
|
220 | rebasing 3:cd488e83d208 "E" (E) | |
221 | rebasing 5:0069ba24938a "F" (F tip) |
|
221 | rebasing 5:0069ba24938a "F" (F tip) | |
222 | o 9: F |
|
222 | o 9: d150ff263fc8 F | |
223 | | |
|
223 | | | |
224 | o 8: E |
|
224 | o 8: 66f30a1a2eab E | |
225 | | |
|
225 | | | |
226 | | o 7: C |
|
226 | | o 7: 93db94ffae0e C | |
227 | | | |
|
227 | | | | |
228 | | o 6: B |
|
228 | | o 6: d0071c3b0c88 B | |
229 | | | |
|
229 | | | | |
230 | | o 1: D |
|
230 | | o 1: 058c1e1fb10a D | |
231 | | |
|
231 | | | |
232 | o 0: A |
|
232 | o 0: 426bada5c675 A | |
233 |
|
233 | |||
234 | Different destinations for merge changesets with a same root: |
|
234 | Different destinations for merge changesets with a same root: | |
235 |
|
235 | |||
@@ -244,19 +244,19 b' Different destinations for merge changes' | |||||
244 | > EOS |
|
244 | > EOS | |
245 | rebasing 3:a4256619d830 "B" (B) |
|
245 | rebasing 3:a4256619d830 "B" (B) | |
246 | rebasing 6:8e139e245220 "C" (C tip) |
|
246 | rebasing 6:8e139e245220 "C" (C tip) | |
247 | o 8: C |
|
247 | o 8: 51e2ce92e06a C | |
248 | |\ |
|
248 | |\ | |
249 | | o 7: B |
|
249 | | o 7: 2ed0c8546285 B | |
250 | | |\ |
|
250 | | |\ | |
251 | o | | 5: G |
|
251 | o | | 5: 8fdb2c1feb20 G | |
252 | | | | |
|
252 | | | | | |
253 | | | o 4: E |
|
253 | | | o 4: cd488e83d208 E | |
254 | | | | |
|
254 | | | | | |
255 | o | | 2: F |
|
255 | o | | 2: a6661b868de9 F | |
256 | / / |
|
256 | / / | |
257 | | o 1: D |
|
257 | | o 1: 058c1e1fb10a D | |
258 | | |
|
258 | | | |
259 | o 0: A |
|
259 | o 0: 426bada5c675 A | |
260 |
|
260 | |||
261 | Move to a previous parent: |
|
261 | Move to a previous parent: | |
262 |
|
262 | |||
@@ -274,21 +274,21 b' Move to a previous parent:' | |||||
274 | rebasing 4:33441538d4aa "F" (F) |
|
274 | rebasing 4:33441538d4aa "F" (F) | |
275 | rebasing 6:cf43ad9da869 "G" (G) |
|
275 | rebasing 6:cf43ad9da869 "G" (G) | |
276 | rebasing 7:eef94f3b5f03 "H" (H tip) |
|
276 | rebasing 7:eef94f3b5f03 "H" (H tip) | |
277 | o 10: H |
|
277 | o 10: b3d84c6666cf H | |
278 | | |
|
278 | | | |
279 | | o 5: D |
|
279 | | o 5: f585351a92f8 D | |
280 | |/ |
|
280 | |/ | |
281 | o 3: C |
|
281 | o 3: 26805aba1e60 C | |
282 | | |
|
282 | | | |
283 | | o 9: G |
|
283 | | o 9: f7c28a1a15e2 G | |
284 | |/ |
|
284 | |/ | |
285 | o 1: B |
|
285 | o 1: 112478962961 B | |
286 | | |
|
286 | | | |
287 | | o 8: F |
|
287 | | o 8: 02aa697facf7 F | |
288 | |/ |
|
288 | |/ | |
289 | | o 2: E |
|
289 | | o 2: 7fb047a69f22 E | |
290 | |/ |
|
290 | |/ | |
291 | o 0: A |
|
291 | o 0: 426bada5c675 A | |
292 |
|
292 | |||
293 | Source overlaps with destination: |
|
293 | Source overlaps with destination: | |
294 |
|
294 | |||
@@ -299,13 +299,13 b' Source overlaps with destination:' | |||||
299 | > EOS |
|
299 | > EOS | |
300 | rebasing 2:dc0947a82db8 "C" (C) |
|
300 | rebasing 2:dc0947a82db8 "C" (C) | |
301 | rebasing 1:112478962961 "B" (B) |
|
301 | rebasing 1:112478962961 "B" (B) | |
302 | o 5: B |
|
302 | o 5: 5fe9935d5222 B | |
303 | | |
|
303 | | | |
304 | o 4: C |
|
304 | o 4: 12d20731b9e0 C | |
305 | | |
|
305 | | | |
306 | o 3: D |
|
306 | o 3: b18e25de2cf5 D | |
307 | | |
|
307 | | | |
308 | o 0: A |
|
308 | o 0: 426bada5c675 A | |
309 |
|
309 | |||
310 | Detect cycles early: |
|
310 | Detect cycles early: | |
311 |
|
311 | |||
@@ -345,17 +345,17 b' Detect source is ancestor of dest in run' | |||||
345 | already rebased 3:b18e25de2cf5 "D" (D) |
|
345 | already rebased 3:b18e25de2cf5 "D" (D) | |
346 | already rebased 4:312782b8f06e "E" (E) |
|
346 | already rebased 4:312782b8f06e "E" (E) | |
347 | already rebased 5:ad6717a6a58e "F" (F tip) |
|
347 | already rebased 5:ad6717a6a58e "F" (F tip) | |
348 | o 5: F |
|
348 | o 5: ad6717a6a58e F | |
349 | | |
|
349 | | | |
350 | o 3: D |
|
350 | o 3: b18e25de2cf5 D | |
351 | | |
|
351 | | | |
352 | | o 4: E |
|
352 | | o 4: 312782b8f06e E | |
353 | | |\ |
|
353 | | |\ | |
354 | +---o 2: C |
|
354 | +---o 2: dc0947a82db8 C | |
355 | | | |
|
355 | | | | |
356 | | o 1: B |
|
356 | | o 1: 112478962961 B | |
357 | |/ |
|
357 | |/ | |
358 | o 0: A |
|
358 | o 0: 426bada5c675 A | |
359 |
|
359 | |||
360 | Massively rewrite the DAG: |
|
360 | Massively rewrite the DAG: | |
361 |
|
361 | |||
@@ -379,27 +379,27 b' Massively rewrite the DAG:' | |||||
379 | rebasing 10:ae41898d7875 "K" (K tip) |
|
379 | rebasing 10:ae41898d7875 "K" (K tip) | |
380 | rebasing 9:711f53bbef0b "G" (G) |
|
380 | rebasing 9:711f53bbef0b "G" (G) | |
381 | rebasing 6:64a8289d2492 "F" (F) |
|
381 | rebasing 6:64a8289d2492 "F" (F) | |
382 | o 21: F |
|
382 | o 21: 3735afb3713a F | |
383 | | |
|
383 | | | |
384 | o 20: G |
|
384 | o 20: 07698142d7a7 G | |
385 | | |
|
385 | | | |
386 | o 19: K |
|
386 | o 19: 33aba52e7e72 K | |
387 | | |
|
387 | | | |
388 | o 18: D |
|
388 | o 18: 9fdae89dc5a1 D | |
389 | | |
|
389 | | | |
390 | o 17: E |
|
390 | o 17: 277dda9a65ee E | |
391 | | |
|
391 | | | |
392 | o 16: B |
|
392 | o 16: 9c74fd8657ad B | |
393 | | |
|
393 | | | |
394 | o 15: J |
|
394 | o 15: 6527eb0688bb J | |
395 | | |
|
395 | | | |
396 | o 14: C |
|
396 | o 14: e94d655b928d C | |
397 | | |
|
397 | | | |
398 | o 13: H |
|
398 | o 13: 620d6d349459 H | |
399 | | |
|
399 | | | |
400 | o 12: A |
|
400 | o 12: a569a116758f A | |
401 | | |
|
401 | | | |
402 | o 11: I |
|
402 | o 11: 2bf1302f5c18 I | |
403 |
|
403 | |||
404 | Resolve instability: |
|
404 | Resolve instability: | |
405 |
|
405 | |||
@@ -426,27 +426,27 b' Resolve instability:' | |||||
426 | rebasing 10:ffebc37c5d0b "E3" (E3) |
|
426 | rebasing 10:ffebc37c5d0b "E3" (E3) | |
427 | rebasing 13:fb184bcfeee8 "F2" (F2) |
|
427 | rebasing 13:fb184bcfeee8 "F2" (F2) | |
428 | rebasing 11:dc838ab4c0da "G" (G) |
|
428 | rebasing 11:dc838ab4c0da "G" (G) | |
429 | o 22: G |
|
429 | o 22: 174f63d574a8 G | |
430 | | |
|
430 | | | |
431 | o 21: F2 |
|
431 | o 21: c9d9fbe76705 F2 | |
432 | | |
|
432 | | | |
433 | o 20: E3 |
|
433 | o 20: 0a03c2ede755 E3 | |
434 | | |
|
434 | | | |
435 | o 19: D |
|
435 | o 19: 228d9d2541b1 D | |
436 | | |
|
436 | | | |
437 | o 18: C |
|
437 | o 18: cd856b400c95 C | |
438 | | |
|
438 | | | |
439 | o 17: J |
|
439 | o 17: 9148200c858c J | |
440 | | |
|
440 | | | |
441 | o 15: I2 |
|
441 | o 15: eb74780f5094 I2 | |
442 | | |
|
442 | | | |
443 | o 12: H |
|
443 | o 12: 78309edd643f H | |
444 | | |
|
444 | | | |
445 | o 5: B2 |
|
445 | o 5: 4b4531bd8e1d B2 | |
446 | | |
|
446 | | | |
447 | o 4: N |
|
447 | o 4: 337c285c272b N | |
448 | | |
|
448 | | | |
449 | o 2: M |
|
449 | o 2: 699bc4b6fa22 M | |
450 | | |
|
450 | | | |
451 | o 0: A |
|
451 | o 0: 426bada5c675 A | |
452 |
|
452 |
@@ -3,7 +3,7 b'' | |||||
3 | > rebase= |
|
3 | > rebase= | |
4 | > |
|
4 | > | |
5 | > [alias] |
|
5 | > [alias] | |
6 | > tglog = log -G --template "{rev}: '{desc}'\n" |
|
6 | > tglog = log -G --template "{rev}: {node|short} '{desc}'\n" | |
7 | > |
|
7 | > | |
8 | > [extensions] |
|
8 | > [extensions] | |
9 | > drawdag=$TESTDIR/drawdag.py |
|
9 | > drawdag=$TESTDIR/drawdag.py | |
@@ -65,15 +65,15 b' Rebasing D onto B detaching from C (two ' | |||||
65 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg (glob) |
|
65 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg (glob) | |
66 |
|
66 | |||
67 | $ hg tglog |
|
67 | $ hg tglog | |
68 | o 4: 'E' |
|
68 | o 4: ee79e0744528 'E' | |
69 | | |
|
69 | | | |
70 | o 3: 'D' |
|
70 | o 3: 10530e1d72d9 'D' | |
71 | | |
|
71 | | | |
72 | | o 2: 'C' |
|
72 | | o 2: dc0947a82db8 'C' | |
73 | | | |
|
73 | | | | |
74 | o | 1: 'B' |
|
74 | o | 1: 112478962961 'B' | |
75 | |/ |
|
75 | |/ | |
76 | o 0: 'A' |
|
76 | o 0: 426bada5c675 'A' | |
77 |
|
77 | |||
78 | $ hg manifest --rev tip |
|
78 | $ hg manifest --rev tip | |
79 | A |
|
79 | A | |
@@ -102,13 +102,13 b' Rebasing C onto B using detach (same as ' | |||||
102 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg (glob) |
|
102 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg (glob) | |
103 |
|
103 | |||
104 | $ hg tglog |
|
104 | $ hg tglog | |
105 | o 3: 'D' |
|
105 | o 3: 7375f3dbfb0f 'D' | |
106 | | |
|
106 | | | |
107 | o 2: 'C' |
|
107 | o 2: bbfdd6cb49aa 'C' | |
108 | | |
|
108 | | | |
109 | o 1: 'B' |
|
109 | o 1: 112478962961 'B' | |
110 | | |
|
110 | | | |
111 | o 0: 'A' |
|
111 | o 0: 426bada5c675 'A' | |
112 |
|
112 | |||
113 | $ hg manifest --rev tip |
|
113 | $ hg manifest --rev tip | |
114 | A |
|
114 | A | |
@@ -179,30 +179,30 b' Rebasing across null as ancestor' | |||||
179 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg (glob) |
|
179 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg (glob) | |
180 |
|
180 | |||
181 | $ hg tglog |
|
181 | $ hg tglog | |
182 | o 4: 'E' |
|
182 | o 4: e3d0c70d606d 'E' | |
183 | | |
|
183 | | | |
184 | o 3: 'D' |
|
184 | o 3: e9153d36a1af 'D' | |
185 | | |
|
185 | | | |
186 | o 2: 'C' |
|
186 | o 2: a7ac28b870a8 'C' | |
187 | | |
|
187 | | | |
188 | o 1: 'B' |
|
188 | o 1: fc2b737bb2e5 'B' | |
189 |
|
189 | |||
190 | o 0: 'A' |
|
190 | o 0: 426bada5c675 'A' | |
191 |
|
191 | |||
192 | $ hg rebase -d 1 -s 3 |
|
192 | $ hg rebase -d 1 -s 3 | |
193 | rebasing 3:e9153d36a1af "D" |
|
193 | rebasing 3:e9153d36a1af "D" | |
194 | rebasing 4:e3d0c70d606d "E" (tip) |
|
194 | rebasing 4:e3d0c70d606d "E" (tip) | |
195 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg (glob) |
|
195 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg (glob) | |
196 | $ hg tglog |
|
196 | $ hg tglog | |
197 | o 4: 'E' |
|
197 | o 4: 2c24e540eccd 'E' | |
198 | | |
|
198 | | | |
199 | o 3: 'D' |
|
199 | o 3: 73f786ed52ff 'D' | |
200 | | |
|
200 | | | |
201 | | o 2: 'C' |
|
201 | | o 2: a7ac28b870a8 'C' | |
202 | |/ |
|
202 | |/ | |
203 | o 1: 'B' |
|
203 | o 1: fc2b737bb2e5 'B' | |
204 |
|
204 | |||
205 | o 0: 'A' |
|
205 | o 0: 426bada5c675 'A' | |
206 |
|
206 | |||
207 | $ cd .. |
|
207 | $ cd .. | |
208 |
|
208 | |||
@@ -231,21 +231,21 b' Verify that target is not selected as ex' | |||||
231 | $ echo "J" >> F |
|
231 | $ echo "J" >> F | |
232 | $ hg ci -m "J" |
|
232 | $ hg ci -m "J" | |
233 | $ hg tglog |
|
233 | $ hg tglog | |
234 | @ 7: 'J' |
|
234 | @ 7: c6aaf0d259c0 'J' | |
235 | | |
|
235 | | | |
236 | o 6: 'Merge' |
|
236 | o 6: 0cfbc7e8faaf 'Merge' | |
237 | |\ |
|
237 | |\ | |
238 | | o 5: 'I' |
|
238 | | o 5: b92d164ad3cb 'I' | |
239 | | | |
|
239 | | | | |
240 | o | 4: 'H' |
|
240 | o | 4: 4ea5b230dea3 'H' | |
241 | | | |
|
241 | | | | |
242 | | o 3: 'G' |
|
242 | | o 3: c6001eacfde5 'G' | |
243 | |/| |
|
243 | |/| | |
244 | o | 2: 'F' |
|
244 | o | 2: 8908a377a434 'F' | |
245 | | | |
|
245 | | | | |
246 | | o 1: 'E' |
|
246 | | o 1: 7fb047a69f22 'E' | |
247 | |/ |
|
247 | |/ | |
248 | o 0: 'A' |
|
248 | o 0: 426bada5c675 'A' | |
249 |
|
249 | |||
250 | $ hg rebase -s I -d H --collapse --config ui.merge=internal:other |
|
250 | $ hg rebase -s I -d H --collapse --config ui.merge=internal:other | |
251 | rebasing 5:b92d164ad3cb "I" (I) |
|
251 | rebasing 5:b92d164ad3cb "I" (I) | |
@@ -254,19 +254,19 b' Verify that target is not selected as ex' | |||||
254 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg (glob) |
|
254 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg (glob) | |
255 |
|
255 | |||
256 | $ hg tglog |
|
256 | $ hg tglog | |
257 | @ 5: 'Collapsed revision |
|
257 | @ 5: 65079693dac4 'Collapsed revision | |
258 | | * I |
|
258 | | * I | |
259 | | * Merge |
|
259 | | * Merge | |
260 | | * J' |
|
260 | | * J' | |
261 | o 4: 'H' |
|
261 | o 4: 4ea5b230dea3 'H' | |
262 | | |
|
262 | | | |
263 | | o 3: 'G' |
|
263 | | o 3: c6001eacfde5 'G' | |
264 | |/| |
|
264 | |/| | |
265 | o | 2: 'F' |
|
265 | o | 2: 8908a377a434 'F' | |
266 | | | |
|
266 | | | | |
267 | | o 1: 'E' |
|
267 | | o 1: 7fb047a69f22 'E' | |
268 | |/ |
|
268 | |/ | |
269 | o 0: 'A' |
|
269 | o 0: 426bada5c675 'A' | |
270 |
|
270 | |||
271 |
|
271 | |||
272 | $ hg log --rev tip |
|
272 | $ hg log --rev tip |
@@ -6,8 +6,8 b'' | |||||
6 | > publish=False |
|
6 | > publish=False | |
7 | > |
|
7 | > | |
8 | > [alias] |
|
8 | > [alias] | |
9 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
9 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
10 | > tglogp = log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
|
10 | > tglogp = log -G --template "{rev}: {node|short} {phase} '{desc}' {branches}\n" | |
11 | > EOF |
|
11 | > EOF | |
12 |
|
12 | |||
13 |
|
13 | |||
@@ -44,15 +44,15 b' Changes during an interruption - continu' | |||||
44 | $ cd a1 |
|
44 | $ cd a1 | |
45 |
|
45 | |||
46 | $ hg tglog |
|
46 | $ hg tglog | |
47 | @ 4: 'E' |
|
47 | @ 4: ae36e8e3dfd7 'E' | |
48 | | |
|
48 | | | |
49 | o 3: 'D' |
|
49 | o 3: 46b37eabc604 'D' | |
50 | | |
|
50 | | | |
51 | | o 2: 'C' |
|
51 | | o 2: 965c486023db 'C' | |
52 | | | |
|
52 | | | | |
53 | | o 1: 'B' |
|
53 | | o 1: 27547f69f254 'B' | |
54 | |/ |
|
54 | |/ | |
55 | o 0: 'A' |
|
55 | o 0: 4a2df7238c3b 'A' | |
56 |
|
56 | |||
57 | Rebasing B onto E: |
|
57 | Rebasing B onto E: | |
58 |
|
58 | |||
@@ -77,19 +77,19 b' Force this commit onto secret phase' | |||||
77 | $ hg phase --force --secret 6 |
|
77 | $ hg phase --force --secret 6 | |
78 |
|
78 | |||
79 | $ hg tglogp |
|
79 | $ hg tglogp | |
80 | @ 6:secret 'Extra' |
|
80 | @ 6: deb5d2f93d8b secret 'Extra' | |
81 | | |
|
81 | | | |
82 | | o 5:draft 'B' |
|
82 | | o 5: 45396c49d53b draft 'B' | |
83 | | | |
|
83 | | | | |
84 | | o 4:draft 'E' |
|
84 | | o 4: ae36e8e3dfd7 draft 'E' | |
85 | | | |
|
85 | | | | |
86 | | o 3:draft 'D' |
|
86 | | o 3: 46b37eabc604 draft 'D' | |
87 | | | |
|
87 | | | | |
88 | o | 2:draft 'C' |
|
88 | o | 2: 965c486023db draft 'C' | |
89 | | | |
|
89 | | | | |
90 | o | 1:draft 'B' |
|
90 | o | 1: 27547f69f254 draft 'B' | |
91 | |/ |
|
91 | |/ | |
92 | o 0:draft 'A' |
|
92 | o 0: 4a2df7238c3b draft 'A' | |
93 |
|
93 | |||
94 | Resume the rebasing: |
|
94 | Resume the rebasing: | |
95 |
|
95 | |||
@@ -115,21 +115,21 b' Solve the conflict and go on:' | |||||
115 | warning: orphaned descendants detected, not stripping 27547f69f254, 965c486023db |
|
115 | warning: orphaned descendants detected, not stripping 27547f69f254, 965c486023db | |
116 |
|
116 | |||
117 | $ hg tglogp |
|
117 | $ hg tglogp | |
118 | o 7:draft 'C' |
|
118 | o 7: d2d25e26288e draft 'C' | |
119 | | |
|
119 | | | |
120 | | o 6:secret 'Extra' |
|
120 | | o 6: deb5d2f93d8b secret 'Extra' | |
121 | | | |
|
121 | | | | |
122 | o | 5:draft 'B' |
|
122 | o | 5: 45396c49d53b draft 'B' | |
123 | | | |
|
123 | | | | |
124 | @ | 4:draft 'E' |
|
124 | @ | 4: ae36e8e3dfd7 draft 'E' | |
125 | | | |
|
125 | | | | |
126 | o | 3:draft 'D' |
|
126 | o | 3: 46b37eabc604 draft 'D' | |
127 | | | |
|
127 | | | | |
128 | | o 2:draft 'C' |
|
128 | | o 2: 965c486023db draft 'C' | |
129 | | | |
|
129 | | | | |
130 | | o 1:draft 'B' |
|
130 | | o 1: 27547f69f254 draft 'B' | |
131 | |/ |
|
131 | |/ | |
132 | o 0:draft 'A' |
|
132 | o 0: 4a2df7238c3b draft 'A' | |
133 |
|
133 | |||
134 | $ cd .. |
|
134 | $ cd .. | |
135 |
|
135 | |||
@@ -140,15 +140,15 b' Changes during an interruption - abort:' | |||||
140 | $ cd a2 |
|
140 | $ cd a2 | |
141 |
|
141 | |||
142 | $ hg tglog |
|
142 | $ hg tglog | |
143 | @ 4: 'E' |
|
143 | @ 4: ae36e8e3dfd7 'E' | |
144 | | |
|
144 | | | |
145 | o 3: 'D' |
|
145 | o 3: 46b37eabc604 'D' | |
146 | | |
|
146 | | | |
147 | | o 2: 'C' |
|
147 | | o 2: 965c486023db 'C' | |
148 | | | |
|
148 | | | | |
149 | | o 1: 'B' |
|
149 | | o 1: 27547f69f254 'B' | |
150 | |/ |
|
150 | |/ | |
151 | o 0: 'A' |
|
151 | o 0: 4a2df7238c3b 'A' | |
152 |
|
152 | |||
153 | Rebasing B onto E: |
|
153 | Rebasing B onto E: | |
154 |
|
154 | |||
@@ -169,19 +169,19 b" Force a commit on B' during the interrup" | |||||
169 | $ hg ci -m 'Extra' --config 'extensions.rebase=!' |
|
169 | $ hg ci -m 'Extra' --config 'extensions.rebase=!' | |
170 |
|
170 | |||
171 | $ hg tglog |
|
171 | $ hg tglog | |
172 | @ 6: 'Extra' |
|
172 | @ 6: 402ee3642b59 'Extra' | |
173 | | |
|
173 | | | |
174 | o 5: 'B' |
|
174 | o 5: 45396c49d53b 'B' | |
175 | | |
|
175 | | | |
176 | o 4: 'E' |
|
176 | o 4: ae36e8e3dfd7 'E' | |
177 | | |
|
177 | | | |
178 | o 3: 'D' |
|
178 | o 3: 46b37eabc604 'D' | |
179 | | |
|
179 | | | |
180 | | o 2: 'C' |
|
180 | | o 2: 965c486023db 'C' | |
181 | | | |
|
181 | | | | |
182 | | o 1: 'B' |
|
182 | | o 1: 27547f69f254 'B' | |
183 | |/ |
|
183 | |/ | |
184 | o 0: 'A' |
|
184 | o 0: 4a2df7238c3b 'A' | |
185 |
|
185 | |||
186 | Abort the rebasing: |
|
186 | Abort the rebasing: | |
187 |
|
187 | |||
@@ -190,19 +190,19 b' Abort the rebasing:' | |||||
190 | rebase aborted |
|
190 | rebase aborted | |
191 |
|
191 | |||
192 | $ hg tglog |
|
192 | $ hg tglog | |
193 | @ 6: 'Extra' |
|
193 | @ 6: 402ee3642b59 'Extra' | |
194 | | |
|
194 | | | |
195 | o 5: 'B' |
|
195 | o 5: 45396c49d53b 'B' | |
196 | | |
|
196 | | | |
197 | o 4: 'E' |
|
197 | o 4: ae36e8e3dfd7 'E' | |
198 | | |
|
198 | | | |
199 | o 3: 'D' |
|
199 | o 3: 46b37eabc604 'D' | |
200 | | |
|
200 | | | |
201 | | o 2: 'C' |
|
201 | | o 2: 965c486023db 'C' | |
202 | | | |
|
202 | | | | |
203 | | o 1: 'B' |
|
203 | | o 1: 27547f69f254 'B' | |
204 | |/ |
|
204 | |/ | |
205 | o 0: 'A' |
|
205 | o 0: 4a2df7238c3b 'A' | |
206 |
|
206 | |||
207 | $ cd .. |
|
207 | $ cd .. | |
208 |
|
208 | |||
@@ -212,15 +212,15 b' Changes during an interruption - abort (' | |||||
212 | $ cd a3 |
|
212 | $ cd a3 | |
213 |
|
213 | |||
214 | $ hg tglogp |
|
214 | $ hg tglogp | |
215 | @ 4:draft 'E' |
|
215 | @ 4: ae36e8e3dfd7 draft 'E' | |
216 | | |
|
216 | | | |
217 | o 3:draft 'D' |
|
217 | o 3: 46b37eabc604 draft 'D' | |
218 | | |
|
218 | | | |
219 | | o 2:draft 'C' |
|
219 | | o 2: 965c486023db draft 'C' | |
220 | | | |
|
220 | | | | |
221 | | o 1:draft 'B' |
|
221 | | o 1: 27547f69f254 draft 'B' | |
222 | |/ |
|
222 | |/ | |
223 | o 0:draft 'A' |
|
223 | o 0: 4a2df7238c3b draft 'A' | |
224 |
|
224 | |||
225 | Rebasing B onto E: |
|
225 | Rebasing B onto E: | |
226 |
|
226 | |||
@@ -240,17 +240,17 b" Change phase on B and B'" | |||||
240 | $ hg phase --secret -f 2 |
|
240 | $ hg phase --secret -f 2 | |
241 |
|
241 | |||
242 | $ hg tglogp |
|
242 | $ hg tglogp | |
243 | @ 5:public 'B' |
|
243 | @ 5: 45396c49d53b public 'B' | |
244 | | |
|
244 | | | |
245 | o 4:public 'E' |
|
245 | o 4: ae36e8e3dfd7 public 'E' | |
246 | | |
|
246 | | | |
247 | o 3:public 'D' |
|
247 | o 3: 46b37eabc604 public 'D' | |
248 | | |
|
248 | | | |
249 | | o 2:secret 'C' |
|
249 | | o 2: 965c486023db secret 'C' | |
250 | | | |
|
250 | | | | |
251 | | o 1:public 'B' |
|
251 | | o 1: 27547f69f254 public 'B' | |
252 | |/ |
|
252 | |/ | |
253 | o 0:public 'A' |
|
253 | o 0: 4a2df7238c3b public 'A' | |
254 |
|
254 | |||
255 | Abort the rebasing: |
|
255 | Abort the rebasing: | |
256 |
|
256 | |||
@@ -259,17 +259,17 b' Abort the rebasing:' | |||||
259 | rebase aborted |
|
259 | rebase aborted | |
260 |
|
260 | |||
261 | $ hg tglogp |
|
261 | $ hg tglogp | |
262 | @ 5:public 'B' |
|
262 | @ 5: 45396c49d53b public 'B' | |
263 | | |
|
263 | | | |
264 | o 4:public 'E' |
|
264 | o 4: ae36e8e3dfd7 public 'E' | |
265 | | |
|
265 | | | |
266 | o 3:public 'D' |
|
266 | o 3: 46b37eabc604 public 'D' | |
267 | | |
|
267 | | | |
268 | | o 2:secret 'C' |
|
268 | | o 2: 965c486023db secret 'C' | |
269 | | | |
|
269 | | | | |
270 | | o 1:public 'B' |
|
270 | | o 1: 27547f69f254 public 'B' | |
271 | |/ |
|
271 | |/ | |
272 | o 0:public 'A' |
|
272 | o 0: 4a2df7238c3b public 'A' | |
273 |
|
273 | |||
274 | Test rebase interrupted by hooks |
|
274 | Test rebase interrupted by hooks | |
275 |
|
275 | |||
@@ -292,40 +292,40 b' Test rebase interrupted by hooks' | |||||
292 | abort: precommit hook exited with status 1 |
|
292 | abort: precommit hook exited with status 1 | |
293 | [255] |
|
293 | [255] | |
294 | $ hg tglogp |
|
294 | $ hg tglogp | |
295 | @ 7:secret 'C' |
|
295 | @ 7: 401ccec5e39f secret 'C' | |
296 | | |
|
296 | | | |
297 | | @ 6:secret 'F' |
|
297 | | @ 6: a0b2430ebfb8 secret 'F' | |
298 | | | |
|
298 | | | | |
299 | o | 5:public 'B' |
|
299 | o | 5: 45396c49d53b public 'B' | |
300 | | | |
|
300 | | | | |
301 | o | 4:public 'E' |
|
301 | o | 4: ae36e8e3dfd7 public 'E' | |
302 | | | |
|
302 | | | | |
303 | o | 3:public 'D' |
|
303 | o | 3: 46b37eabc604 public 'D' | |
304 | | | |
|
304 | | | | |
305 | | o 2:secret 'C' |
|
305 | | o 2: 965c486023db secret 'C' | |
306 | | | |
|
306 | | | | |
307 | | o 1:public 'B' |
|
307 | | o 1: 27547f69f254 public 'B' | |
308 | |/ |
|
308 | |/ | |
309 | o 0:public 'A' |
|
309 | o 0: 4a2df7238c3b public 'A' | |
310 |
|
310 | |||
311 | $ hg rebase --continue |
|
311 | $ hg rebase --continue | |
312 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
312 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
313 | rebasing 6:a0b2430ebfb8 "F" |
|
313 | rebasing 6:a0b2430ebfb8 "F" | |
314 | saved backup bundle to $TESTTMP/hook-precommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) |
|
314 | saved backup bundle to $TESTTMP/hook-precommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) | |
315 | $ hg tglogp |
|
315 | $ hg tglogp | |
316 | @ 6:secret 'F' |
|
316 | @ 6: 6e92a149ac6b secret 'F' | |
317 | | |
|
317 | | | |
318 | o 5:secret 'C' |
|
318 | o 5: 401ccec5e39f secret 'C' | |
319 | | |
|
319 | | | |
320 | o 4:public 'B' |
|
320 | o 4: 45396c49d53b public 'B' | |
321 | | |
|
321 | | | |
322 | o 3:public 'E' |
|
322 | o 3: ae36e8e3dfd7 public 'E' | |
323 | | |
|
323 | | | |
324 | o 2:public 'D' |
|
324 | o 2: 46b37eabc604 public 'D' | |
325 | | |
|
325 | | | |
326 | | o 1:public 'B' |
|
326 | | o 1: 27547f69f254 public 'B' | |
327 | |/ |
|
327 | |/ | |
328 | o 0:public 'A' |
|
328 | o 0: 4a2df7238c3b public 'A' | |
329 |
|
329 | |||
330 | $ cd .. |
|
330 | $ cd .. | |
331 |
|
331 | |||
@@ -347,40 +347,40 b' Test rebase interrupted by hooks' | |||||
347 | abort: pretxncommit hook exited with status 1 |
|
347 | abort: pretxncommit hook exited with status 1 | |
348 | [255] |
|
348 | [255] | |
349 | $ hg tglogp |
|
349 | $ hg tglogp | |
350 | @ 7:secret 'C' |
|
350 | @ 7: 401ccec5e39f secret 'C' | |
351 | | |
|
351 | | | |
352 | | @ 6:secret 'F' |
|
352 | | @ 6: a0b2430ebfb8 secret 'F' | |
353 | | | |
|
353 | | | | |
354 | o | 5:public 'B' |
|
354 | o | 5: 45396c49d53b public 'B' | |
355 | | | |
|
355 | | | | |
356 | o | 4:public 'E' |
|
356 | o | 4: ae36e8e3dfd7 public 'E' | |
357 | | | |
|
357 | | | | |
358 | o | 3:public 'D' |
|
358 | o | 3: 46b37eabc604 public 'D' | |
359 | | | |
|
359 | | | | |
360 | | o 2:secret 'C' |
|
360 | | o 2: 965c486023db secret 'C' | |
361 | | | |
|
361 | | | | |
362 | | o 1:public 'B' |
|
362 | | o 1: 27547f69f254 public 'B' | |
363 | |/ |
|
363 | |/ | |
364 | o 0:public 'A' |
|
364 | o 0: 4a2df7238c3b public 'A' | |
365 |
|
365 | |||
366 | $ hg rebase --continue |
|
366 | $ hg rebase --continue | |
367 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
367 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
368 | rebasing 6:a0b2430ebfb8 "F" |
|
368 | rebasing 6:a0b2430ebfb8 "F" | |
369 | saved backup bundle to $TESTTMP/hook-pretxncommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) |
|
369 | saved backup bundle to $TESTTMP/hook-pretxncommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) | |
370 | $ hg tglogp |
|
370 | $ hg tglogp | |
371 | @ 6:secret 'F' |
|
371 | @ 6: 6e92a149ac6b secret 'F' | |
372 | | |
|
372 | | | |
373 | o 5:secret 'C' |
|
373 | o 5: 401ccec5e39f secret 'C' | |
374 | | |
|
374 | | | |
375 | o 4:public 'B' |
|
375 | o 4: 45396c49d53b public 'B' | |
376 | | |
|
376 | | | |
377 | o 3:public 'E' |
|
377 | o 3: ae36e8e3dfd7 public 'E' | |
378 | | |
|
378 | | | |
379 | o 2:public 'D' |
|
379 | o 2: 46b37eabc604 public 'D' | |
380 | | |
|
380 | | | |
381 | | o 1:public 'B' |
|
381 | | o 1: 27547f69f254 public 'B' | |
382 | |/ |
|
382 | |/ | |
383 | o 0:public 'A' |
|
383 | o 0: 4a2df7238c3b public 'A' | |
384 |
|
384 | |||
385 | $ cd .. |
|
385 | $ cd .. | |
386 |
|
386 | |||
@@ -397,40 +397,40 b' Test rebase interrupted by hooks' | |||||
397 | abort: pretxnclose hook exited with status 1 |
|
397 | abort: pretxnclose hook exited with status 1 | |
398 | [255] |
|
398 | [255] | |
399 | $ hg tglogp |
|
399 | $ hg tglogp | |
400 | @ 7:secret 'C' |
|
400 | @ 7: 401ccec5e39f secret 'C' | |
401 | | |
|
401 | | | |
402 | | @ 6:secret 'F' |
|
402 | | @ 6: a0b2430ebfb8 secret 'F' | |
403 | | | |
|
403 | | | | |
404 | o | 5:public 'B' |
|
404 | o | 5: 45396c49d53b public 'B' | |
405 | | | |
|
405 | | | | |
406 | o | 4:public 'E' |
|
406 | o | 4: ae36e8e3dfd7 public 'E' | |
407 | | | |
|
407 | | | | |
408 | o | 3:public 'D' |
|
408 | o | 3: 46b37eabc604 public 'D' | |
409 | | | |
|
409 | | | | |
410 | | o 2:secret 'C' |
|
410 | | o 2: 965c486023db secret 'C' | |
411 | | | |
|
411 | | | | |
412 | | o 1:public 'B' |
|
412 | | o 1: 27547f69f254 public 'B' | |
413 | |/ |
|
413 | |/ | |
414 | o 0:public 'A' |
|
414 | o 0: 4a2df7238c3b public 'A' | |
415 |
|
415 | |||
416 | $ hg rebase --continue |
|
416 | $ hg rebase --continue | |
417 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
417 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
418 | rebasing 6:a0b2430ebfb8 "F" |
|
418 | rebasing 6:a0b2430ebfb8 "F" | |
419 | saved backup bundle to $TESTTMP/hook-pretxnclose/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) |
|
419 | saved backup bundle to $TESTTMP/hook-pretxnclose/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg (glob) | |
420 | $ hg tglogp |
|
420 | $ hg tglogp | |
421 | @ 6:secret 'F' |
|
421 | @ 6: 6e92a149ac6b secret 'F' | |
422 | | |
|
422 | | | |
423 | o 5:secret 'C' |
|
423 | o 5: 401ccec5e39f secret 'C' | |
424 | | |
|
424 | | | |
425 | o 4:public 'B' |
|
425 | o 4: 45396c49d53b public 'B' | |
426 | | |
|
426 | | | |
427 | o 3:public 'E' |
|
427 | o 3: ae36e8e3dfd7 public 'E' | |
428 | | |
|
428 | | | |
429 | o 2:public 'D' |
|
429 | o 2: 46b37eabc604 public 'D' | |
430 | | |
|
430 | | | |
431 | | o 1:public 'B' |
|
431 | | o 1: 27547f69f254 public 'B' | |
432 | |/ |
|
432 | |/ | |
433 | o 0:public 'A' |
|
433 | o 0: 4a2df7238c3b public 'A' | |
434 |
|
434 | |||
435 | $ cd .. |
|
435 | $ cd .. | |
436 |
|
436 |
@@ -6,7 +6,7 b'' | |||||
6 | > publish=False |
|
6 | > publish=False | |
7 | > |
|
7 | > | |
8 | > [alias] |
|
8 | > [alias] | |
9 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
9 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
10 | > EOF |
|
10 | > EOF | |
11 |
|
11 | |||
12 |
|
12 | |||
@@ -37,15 +37,15 b'' | |||||
37 | adding r2 |
|
37 | adding r2 | |
38 |
|
38 | |||
39 | $ hg tglog |
|
39 | $ hg tglog | |
40 | @ 4: 'r2' |
|
40 | @ 4: 225af64d03e6 'r2' | |
41 | | |
|
41 | | | |
42 | o 3: 'r1' |
|
42 | o 3: 8d0a8c99b309 'r1' | |
43 | | |
|
43 | | | |
44 | | o 2: 'l1' |
|
44 | | o 2: 87c180a611f2 'l1' | |
45 | |/ |
|
45 | |/ | |
46 | o 1: 'c2' |
|
46 | o 1: 56daeba07f4b 'c2' | |
47 | | |
|
47 | | | |
48 | o 0: 'c1' |
|
48 | o 0: e8faad3d03ff 'c1' | |
49 |
|
49 | |||
50 | Rebase with no arguments - single revision in source branch: |
|
50 | Rebase with no arguments - single revision in source branch: | |
51 |
|
51 | |||
@@ -56,15 +56,15 b' Rebase with no arguments - single revisi' | |||||
56 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/87c180a611f2-a5be192d-rebase.hg (glob) |
|
56 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/87c180a611f2-a5be192d-rebase.hg (glob) | |
57 |
|
57 | |||
58 | $ hg tglog |
|
58 | $ hg tglog | |
59 | @ 4: 'l1' |
|
59 | @ 4: b1152cc99655 'l1' | |
60 | | |
|
60 | | | |
61 | o 3: 'r2' |
|
61 | o 3: 225af64d03e6 'r2' | |
62 | | |
|
62 | | | |
63 | o 2: 'r1' |
|
63 | o 2: 8d0a8c99b309 'r1' | |
64 | | |
|
64 | | | |
65 | o 1: 'c2' |
|
65 | o 1: 56daeba07f4b 'c2' | |
66 | | |
|
66 | | | |
67 | o 0: 'c1' |
|
67 | o 0: e8faad3d03ff 'c1' | |
68 |
|
68 | |||
69 | $ cd .. |
|
69 | $ cd .. | |
70 |
|
70 | |||
@@ -96,15 +96,15 b' Rebase with no arguments - single revisi' | |||||
96 | created new head |
|
96 | created new head | |
97 |
|
97 | |||
98 | $ hg tglog |
|
98 | $ hg tglog | |
99 | @ 4: 'r1' |
|
99 | @ 4: 8d0a8c99b309 'r1' | |
100 | | |
|
100 | | | |
101 | | o 3: 'l2' |
|
101 | | o 3: 1ac923b736ef 'l2' | |
102 | | | |
|
102 | | | | |
103 | | o 2: 'l1' |
|
103 | | o 2: 87c180a611f2 'l1' | |
104 | |/ |
|
104 | |/ | |
105 | o 1: 'c2' |
|
105 | o 1: 56daeba07f4b 'c2' | |
106 | | |
|
106 | | | |
107 | o 0: 'c1' |
|
107 | o 0: e8faad3d03ff 'c1' | |
108 |
|
108 | |||
109 | Rebase with no arguments - single revision in target branch: |
|
109 | Rebase with no arguments - single revision in target branch: | |
110 |
|
110 | |||
@@ -116,15 +116,15 b' Rebase with no arguments - single revisi' | |||||
116 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/87c180a611f2-b980535c-rebase.hg (glob) |
|
116 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/87c180a611f2-b980535c-rebase.hg (glob) | |
117 |
|
117 | |||
118 | $ hg tglog |
|
118 | $ hg tglog | |
119 | @ 4: 'l2' |
|
119 | @ 4: 023181307ed0 'l2' | |
120 | | |
|
120 | | | |
121 | o 3: 'l1' |
|
121 | o 3: 913ab52b43b4 'l1' | |
122 | | |
|
122 | | | |
123 | o 2: 'r1' |
|
123 | o 2: 8d0a8c99b309 'r1' | |
124 | | |
|
124 | | | |
125 | o 1: 'c2' |
|
125 | o 1: 56daeba07f4b 'c2' | |
126 | | |
|
126 | | | |
127 | o 0: 'c1' |
|
127 | o 0: e8faad3d03ff 'c1' | |
128 |
|
128 | |||
129 |
|
129 | |||
130 | $ cd .. |
|
130 | $ cd .. |
@@ -12,7 +12,7 b' already has one local mq patch' | |||||
12 | > publish=False |
|
12 | > publish=False | |
13 | > |
|
13 | > | |
14 | > [alias] |
|
14 | > [alias] | |
15 | > tglog = log -G --template "{rev}: '{desc}' tags: {tags}\n" |
|
15 | > tglog = log -G --template "{rev}: {node|short} '{desc}' tags: {tags}\n" | |
16 | > EOF |
|
16 | > EOF | |
17 |
|
17 | |||
18 |
|
18 | |||
@@ -90,13 +90,13 b' already has one local mq patch' | |||||
90 | 1 revisions have been skipped |
|
90 | 1 revisions have been skipped | |
91 |
|
91 | |||
92 | $ hg tglog |
|
92 | $ hg tglog | |
93 | @ 3: 'P0' tags: p0.patch qbase qtip tip |
|
93 | @ 3: 9ecc820b1737 'P0' tags: p0.patch qbase qtip tip | |
94 | | |
|
94 | | | |
95 | o 2: 'P1' tags: qparent |
|
95 | o 2: 869d8b134a27 'P1' tags: qparent | |
96 | | |
|
96 | | | |
97 | o 1: 'R1' tags: |
|
97 | o 1: da108f2755df 'R1' tags: | |
98 | | |
|
98 | | | |
99 | o 0: 'C1' tags: |
|
99 | o 0: cd320d50b341 'C1' tags: | |
100 |
|
100 | |||
101 | $ cd .. |
|
101 | $ cd .. | |
102 |
|
102 | |||
@@ -169,23 +169,23 b' already has one local mq patch' | |||||
169 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg (glob) |
|
169 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg (glob) | |
170 |
|
170 | |||
171 | $ hg tglog |
|
171 | $ hg tglog | |
172 | @ 8: 'r5' tags: qtip r5 tip |
|
172 | @ 8: 0b9735ce8f0a 'r5' tags: qtip r5 tip | |
173 | | |
|
173 | | | |
174 | o 7: 'r2' tags: qbase r2 |
|
174 | o 7: 1660ab13ce9a 'r2' tags: qbase r2 | |
175 | | |
|
175 | | | |
176 | o 6: 'branch2-r6' tags: qparent |
|
176 | o 6: 057f55ff8f44 'branch2-r6' tags: qparent | |
177 | | |
|
177 | | | |
178 | o 5: 'branch2-r4' tags: |
|
178 | o 5: 1d7287f8deb1 'branch2-r4' tags: | |
179 | | |
|
179 | | | |
180 | o 4: 'branch2-r8' tags: |
|
180 | o 4: 3c10b9db2bd5 'branch2-r8' tags: | |
181 | | |
|
181 | | | |
182 | o 3: 'branch2-r7' tags: |
|
182 | o 3: b684023158dc 'branch2-r7' tags: | |
183 | | |
|
183 | | | |
184 | o 2: 'branch2-r3' tags: |
|
184 | o 2: d817754b1251 'branch2-r3' tags: | |
185 | | |
|
185 | | | |
186 | o 1: 'branch2-r1' tags: |
|
186 | o 1: 0621a206f8a4 'branch2-r1' tags: | |
187 | | |
|
187 | | | |
188 | o 0: 'r0' tags: |
|
188 | o 0: 222799e2f90b 'r0' tags: | |
189 |
|
189 | |||
190 |
|
190 | |||
191 | $ cd .. |
|
191 | $ cd .. |
@@ -7,7 +7,7 b'' | |||||
7 | > plain=true |
|
7 | > plain=true | |
8 | > |
|
8 | > | |
9 | > [alias] |
|
9 | > [alias] | |
10 | > tglog = log -G --template "{rev}: '{desc}' tags: {tags}\n" |
|
10 | > tglog = log -G --template "{rev}: {node|short} '{desc}' tags: {tags}\n" | |
11 | > EOF |
|
11 | > EOF | |
12 |
|
12 | |||
13 |
|
13 | |||
@@ -33,13 +33,13 b'' | |||||
33 | $ hg qref -m P1 -d '2 0' |
|
33 | $ hg qref -m P1 -d '2 0' | |
34 |
|
34 | |||
35 | $ hg tglog |
|
35 | $ hg tglog | |
36 | @ 3: 'P1' tags: f2.patch qtip tip |
|
36 | @ 3: 929394423cd3 'P1' tags: f2.patch qtip tip | |
37 | | |
|
37 | | | |
38 | o 2: 'P0' tags: f.patch qbase |
|
38 | o 2: 3504f44bffc0 'P0' tags: f.patch qbase | |
39 | | |
|
39 | | | |
40 | | o 1: 'R1' tags: |
|
40 | | o 1: bac9ed9960d8 'R1' tags: | |
41 | |/ |
|
41 | |/ | |
42 | o 0: 'C1' tags: qparent |
|
42 | o 0: 36f36ddbca61 'C1' tags: qparent | |
43 |
|
43 | |||
44 |
|
44 | |||
45 | Rebase - try to rebase on an applied mq patch: |
|
45 | Rebase - try to rebase on an applied mq patch: | |
@@ -91,13 +91,13 b' Fix the 2nd conflict:' | |||||
91 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg (glob) |
|
91 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg (glob) | |
92 |
|
92 | |||
93 | $ hg tglog |
|
93 | $ hg tglog | |
94 | @ 3: 'P1' tags: f2.patch qtip tip |
|
94 | @ 3: 462012cf340c 'P1' tags: f2.patch qtip tip | |
95 | | |
|
95 | | | |
96 | o 2: 'P0' tags: f.patch qbase |
|
96 | o 2: ebe9914c0d1c 'P0' tags: f.patch qbase | |
97 | | |
|
97 | | | |
98 | o 1: 'R1' tags: qparent |
|
98 | o 1: bac9ed9960d8 'R1' tags: qparent | |
99 | | |
|
99 | | | |
100 | o 0: 'C1' tags: |
|
100 | o 0: 36f36ddbca61 'C1' tags: | |
101 |
|
101 | |||
102 | $ hg up -q qbase |
|
102 | $ hg up -q qbase | |
103 |
|
103 | |||
@@ -298,11 +298,11 b' Create mq repo with guarded patches foo ' | |||||
298 | foo: +baz |
|
298 | foo: +baz | |
299 |
|
299 | |||
300 | $ hg tglog |
|
300 | $ hg tglog | |
301 | @ 2: 'imported patch bar' tags: bar qtip tip |
|
301 | @ 2: 4f44b861d38c 'imported patch bar' tags: bar qtip tip | |
302 | | |
|
302 | | | |
303 | o 1: 'important commit message' tags: empty-important qbase |
|
303 | o 1: 0aaf4c3af7eb 'important commit message' tags: empty-important qbase | |
304 | | |
|
304 | | | |
305 | o 0: 'a' tags: qparent |
|
305 | o 0: cb9a9f314b8b 'a' tags: qparent | |
306 |
|
306 | |||
307 | Create new head to rebase bar onto: |
|
307 | Create new head to rebase bar onto: | |
308 |
|
308 | |||
@@ -318,13 +318,13 b' Create new head to rebase bar onto:' | |||||
318 | $ hg qref |
|
318 | $ hg qref | |
319 |
|
319 | |||
320 | $ hg tglog |
|
320 | $ hg tglog | |
321 | @ 3: '[mq]: bar' tags: bar qtip tip |
|
321 | @ 3: d526d4536ed6 '[mq]: bar' tags: bar qtip tip | |
322 | | |
|
322 | | | |
323 | | o 2: 'b' tags: |
|
323 | | o 2: d2ae7f538514 'b' tags: | |
324 | | | |
|
324 | | | | |
325 | o | 1: 'important commit message' tags: empty-important qbase |
|
325 | o | 1: 0aaf4c3af7eb 'important commit message' tags: empty-important qbase | |
326 | |/ |
|
326 | |/ | |
327 | o 0: 'a' tags: qparent |
|
327 | o 0: cb9a9f314b8b 'a' tags: qparent | |
328 |
|
328 | |||
329 |
|
329 | |||
330 | Rebase bar (make sure series order is preserved and empty-important also is |
|
330 | Rebase bar (make sure series order is preserved and empty-important also is | |
@@ -351,10 +351,10 b' removed from the series):' | |||||
351 | foo: +baz |
|
351 | foo: +baz | |
352 |
|
352 | |||
353 | $ hg tglog |
|
353 | $ hg tglog | |
354 | @ 2: '[mq]: bar' tags: bar qbase qtip tip |
|
354 | @ 2: 477d948bb2af '[mq]: bar' tags: bar qbase qtip tip | |
355 | | |
|
355 | | | |
356 | o 1: 'b' tags: qparent |
|
356 | o 1: d2ae7f538514 'b' tags: qparent | |
357 | | |
|
357 | | | |
358 | o 0: 'a' tags: |
|
358 | o 0: cb9a9f314b8b 'a' tags: | |
359 |
|
359 | |||
360 | $ cd .. |
|
360 | $ cd .. |
@@ -6,7 +6,7 b'' | |||||
6 | > publish=False |
|
6 | > publish=False | |
7 | > |
|
7 | > | |
8 | > [alias] |
|
8 | > [alias] | |
9 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
9 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
10 | > EOF |
|
10 | > EOF | |
11 |
|
11 | |||
12 | $ hg init a |
|
12 | $ hg init a | |
@@ -45,25 +45,25 b'' | |||||
45 | $ hg ci -m 'dev-two named branch' |
|
45 | $ hg ci -m 'dev-two named branch' | |
46 |
|
46 | |||
47 | $ hg tglog |
|
47 | $ hg tglog | |
48 | @ 9: 'dev-two named branch' dev-two |
|
48 | @ 9: cb039b7cae8e 'dev-two named branch' dev-two | |
49 | | |
|
49 | | | |
50 | | o 8: 'dev-one named branch' dev-one |
|
50 | | o 8: 643fc9128048 'dev-one named branch' dev-one | |
51 | | | |
|
51 | | | | |
52 | o | 7: 'H' |
|
52 | o | 7: 02de42196ebe 'H' | |
53 | | | |
|
53 | | | | |
54 | +---o 6: 'G' |
|
54 | +---o 6: eea13746799a 'G' | |
55 | | | | |
|
55 | | | | | |
56 | o | | 5: 'F' |
|
56 | o | | 5: 24b6387c8c8c 'F' | |
57 | | | | |
|
57 | | | | | |
58 | +---o 4: 'E' |
|
58 | +---o 4: 9520eea781bc 'E' | |
59 | | | |
|
59 | | | | |
60 | | o 3: 'D' |
|
60 | | o 3: 32af7686d403 'D' | |
61 | | | |
|
61 | | | | |
62 | | o 2: 'C' |
|
62 | | o 2: 5fddd98957c8 'C' | |
63 | | | |
|
63 | | | | |
64 | | o 1: 'B' |
|
64 | | o 1: 42ccdea3bb16 'B' | |
65 | |/ |
|
65 | |/ | |
66 | o 0: 'A' |
|
66 | o 0: cd010b8cd998 'A' | |
67 |
|
67 | |||
68 |
|
68 | |||
69 | Branch name containing a dash (issue3181) |
|
69 | Branch name containing a dash (issue3181) | |
@@ -76,25 +76,25 b' Branch name containing a dash (issue3181' | |||||
76 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg (glob) |
|
76 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg (glob) | |
77 |
|
77 | |||
78 | $ hg tglog |
|
78 | $ hg tglog | |
79 | @ 9: 'dev-two named branch' dev-two |
|
79 | @ 9: 9e70cd31750f 'dev-two named branch' dev-two | |
80 | | |
|
80 | | | |
81 | o 8: 'H' |
|
81 | o 8: 31d0e4ba75e6 'H' | |
82 | | |
|
82 | | | |
83 | | o 7: 'G' |
|
83 | | o 7: 4b988a958030 'G' | |
84 | |/| |
|
84 | |/| | |
85 | o | 6: 'F' |
|
85 | o | 6: 24de4aff8e28 'F' | |
86 | | | |
|
86 | | | | |
87 | o | 5: 'dev-one named branch' dev-one |
|
87 | o | 5: 643fc9128048 'dev-one named branch' dev-one | |
88 | | | |
|
88 | | | | |
89 | | o 4: 'E' |
|
89 | | o 4: 9520eea781bc 'E' | |
90 | | | |
|
90 | | | | |
91 | o | 3: 'D' |
|
91 | o | 3: 32af7686d403 'D' | |
92 | | | |
|
92 | | | | |
93 | o | 2: 'C' |
|
93 | o | 2: 5fddd98957c8 'C' | |
94 | | | |
|
94 | | | | |
95 | o | 1: 'B' |
|
95 | o | 1: 42ccdea3bb16 'B' | |
96 | |/ |
|
96 | |/ | |
97 | o 0: 'A' |
|
97 | o 0: cd010b8cd998 'A' | |
98 |
|
98 | |||
99 | $ hg rebase -s dev-one -d 0 --keepbranches |
|
99 | $ hg rebase -s dev-one -d 0 --keepbranches | |
100 | rebasing 5:643fc9128048 "dev-one named branch" |
|
100 | rebasing 5:643fc9128048 "dev-one named branch" | |
@@ -105,25 +105,25 b' Branch name containing a dash (issue3181' | |||||
105 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg (glob) |
|
105 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg (glob) | |
106 |
|
106 | |||
107 | $ hg tglog |
|
107 | $ hg tglog | |
108 | @ 9: 'dev-two named branch' dev-two |
|
108 | @ 9: 59c2e59309fe 'dev-two named branch' dev-two | |
109 | | |
|
109 | | | |
110 | o 8: 'H' |
|
110 | o 8: 904590360559 'H' | |
111 | | |
|
111 | | | |
112 | | o 7: 'G' |
|
112 | | o 7: 1a1e6f72ec38 'G' | |
113 | |/| |
|
113 | |/| | |
114 | o | 6: 'F' |
|
114 | o | 6: 42aa3cf0fa7a 'F' | |
115 | | | |
|
115 | | | | |
116 | o | 5: 'dev-one named branch' dev-one |
|
116 | o | 5: bc8139ee757c 'dev-one named branch' dev-one | |
117 | | | |
|
117 | | | | |
118 | | o 4: 'E' |
|
118 | | o 4: 9520eea781bc 'E' | |
119 | |/ |
|
119 | |/ | |
120 | | o 3: 'D' |
|
120 | | o 3: 32af7686d403 'D' | |
121 | | | |
|
121 | | | | |
122 | | o 2: 'C' |
|
122 | | o 2: 5fddd98957c8 'C' | |
123 | | | |
|
123 | | | | |
124 | | o 1: 'B' |
|
124 | | o 1: 42ccdea3bb16 'B' | |
125 | |/ |
|
125 | |/ | |
126 | o 0: 'A' |
|
126 | o 0: cd010b8cd998 'A' | |
127 |
|
127 | |||
128 | $ hg update 3 |
|
128 | $ hg update 3 | |
129 | 3 files updated, 0 files merged, 3 files removed, 0 files unresolved |
|
129 | 3 files updated, 0 files merged, 3 files removed, 0 files unresolved | |
@@ -133,27 +133,27 b' Branch name containing a dash (issue3181' | |||||
133 | created new head |
|
133 | created new head | |
134 |
|
134 | |||
135 | $ hg tglog |
|
135 | $ hg tglog | |
136 | @ 10: 'dev-one named branch' dev-one |
|
136 | @ 10: 643fc9128048 'dev-one named branch' dev-one | |
137 | | |
|
137 | | | |
138 | | o 9: 'dev-two named branch' dev-two |
|
138 | | o 9: 59c2e59309fe 'dev-two named branch' dev-two | |
139 | | | |
|
139 | | | | |
140 | | o 8: 'H' |
|
140 | | o 8: 904590360559 'H' | |
141 | | | |
|
141 | | | | |
142 | | | o 7: 'G' |
|
142 | | | o 7: 1a1e6f72ec38 'G' | |
143 | | |/| |
|
143 | | |/| | |
144 | | o | 6: 'F' |
|
144 | | o | 6: 42aa3cf0fa7a 'F' | |
145 | | | | |
|
145 | | | | | |
146 | | o | 5: 'dev-one named branch' dev-one |
|
146 | | o | 5: bc8139ee757c 'dev-one named branch' dev-one | |
147 | | | | |
|
147 | | | | | |
148 | | | o 4: 'E' |
|
148 | | | o 4: 9520eea781bc 'E' | |
149 | | |/ |
|
149 | | |/ | |
150 | o | 3: 'D' |
|
150 | o | 3: 32af7686d403 'D' | |
151 | | | |
|
151 | | | | |
152 | o | 2: 'C' |
|
152 | o | 2: 5fddd98957c8 'C' | |
153 | | | |
|
153 | | | | |
154 | o | 1: 'B' |
|
154 | o | 1: 42ccdea3bb16 'B' | |
155 | |/ |
|
155 | |/ | |
156 | o 0: 'A' |
|
156 | o 0: cd010b8cd998 'A' | |
157 |
|
157 | |||
158 | $ hg rebase -b 'max(branch("dev-two"))' -d dev-one --keepbranches |
|
158 | $ hg rebase -b 'max(branch("dev-two"))' -d dev-one --keepbranches | |
159 | rebasing 5:bc8139ee757c "dev-one named branch" |
|
159 | rebasing 5:bc8139ee757c "dev-one named branch" | |
@@ -165,25 +165,25 b' Branch name containing a dash (issue3181' | |||||
165 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/bc8139ee757c-f11c1080-rebase.hg (glob) |
|
165 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/bc8139ee757c-f11c1080-rebase.hg (glob) | |
166 |
|
166 | |||
167 | $ hg tglog |
|
167 | $ hg tglog | |
168 | o 9: 'dev-two named branch' dev-two |
|
168 | o 9: 71325f8bc082 'dev-two named branch' dev-two | |
169 | | |
|
169 | | | |
170 | o 8: 'H' |
|
170 | o 8: 12b2bc666e20 'H' | |
171 | | |
|
171 | | | |
172 | | o 7: 'G' |
|
172 | | o 7: 549f007a9f5f 'G' | |
173 | |/| |
|
173 | |/| | |
174 | o | 6: 'F' |
|
174 | o | 6: 679f28760620 'F' | |
175 | | | |
|
175 | | | | |
176 | @ | 5: 'dev-one named branch' dev-one |
|
176 | @ | 5: 643fc9128048 'dev-one named branch' dev-one | |
177 | | | |
|
177 | | | | |
178 | | o 4: 'E' |
|
178 | | o 4: 9520eea781bc 'E' | |
179 | | | |
|
179 | | | | |
180 | o | 3: 'D' |
|
180 | o | 3: 32af7686d403 'D' | |
181 | | | |
|
181 | | | | |
182 | o | 2: 'C' |
|
182 | o | 2: 5fddd98957c8 'C' | |
183 | | | |
|
183 | | | | |
184 | o | 1: 'B' |
|
184 | o | 1: 42ccdea3bb16 'B' | |
185 | |/ |
|
185 | |/ | |
186 | o 0: 'A' |
|
186 | o 0: cd010b8cd998 'A' | |
187 |
|
187 | |||
188 | $ hg rebase -s 'max(branch("dev-one"))' -d 0 --keepbranches |
|
188 | $ hg rebase -s 'max(branch("dev-one"))' -d 0 --keepbranches | |
189 | rebasing 5:643fc9128048 "dev-one named branch" |
|
189 | rebasing 5:643fc9128048 "dev-one named branch" | |
@@ -194,25 +194,25 b' Branch name containing a dash (issue3181' | |||||
194 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg (glob) |
|
194 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg (glob) | |
195 |
|
195 | |||
196 | $ hg tglog |
|
196 | $ hg tglog | |
197 | o 9: 'dev-two named branch' dev-two |
|
197 | o 9: 3944801ae4ea 'dev-two named branch' dev-two | |
198 | | |
|
198 | | | |
199 | o 8: 'H' |
|
199 | o 8: 8e279d293175 'H' | |
200 | | |
|
200 | | | |
201 | | o 7: 'G' |
|
201 | | o 7: aeefee77ab01 'G' | |
202 | |/| |
|
202 | |/| | |
203 | o | 6: 'F' |
|
203 | o | 6: e908b85f3729 'F' | |
204 | | | |
|
204 | | | | |
205 | @ | 5: 'dev-one named branch' dev-one |
|
205 | @ | 5: bc8139ee757c 'dev-one named branch' dev-one | |
206 | | | |
|
206 | | | | |
207 | | o 4: 'E' |
|
207 | | o 4: 9520eea781bc 'E' | |
208 | |/ |
|
208 | |/ | |
209 | | o 3: 'D' |
|
209 | | o 3: 32af7686d403 'D' | |
210 | | | |
|
210 | | | | |
211 | | o 2: 'C' |
|
211 | | o 2: 5fddd98957c8 'C' | |
212 | | | |
|
212 | | | | |
213 | | o 1: 'B' |
|
213 | | o 1: 42ccdea3bb16 'B' | |
214 | |/ |
|
214 | |/ | |
215 | o 0: 'A' |
|
215 | o 0: cd010b8cd998 'A' | |
216 |
|
216 | |||
217 | $ hg up -r 0 > /dev/null |
|
217 | $ hg up -r 0 > /dev/null | |
218 |
|
218 | |||
@@ -225,25 +225,25 b' Rebasing descendant onto ancestor across' | |||||
225 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
225 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
226 |
|
226 | |||
227 | $ hg tglog |
|
227 | $ hg tglog | |
228 | o 9: 'D' |
|
228 | o 9: e9f862ce8bad 'D' | |
229 | | |
|
229 | | | |
230 | o 8: 'C' |
|
230 | o 8: a0d543090fa4 'C' | |
231 | | |
|
231 | | | |
232 | o 7: 'B' |
|
232 | o 7: 3bdb949809d9 'B' | |
233 | | |
|
233 | | | |
234 | o 6: 'dev-two named branch' dev-two |
|
234 | o 6: 3944801ae4ea 'dev-two named branch' dev-two | |
235 | | |
|
235 | | | |
236 | o 5: 'H' |
|
236 | o 5: 8e279d293175 'H' | |
237 | | |
|
237 | | | |
238 | | o 4: 'G' |
|
238 | | o 4: aeefee77ab01 'G' | |
239 | |/| |
|
239 | |/| | |
240 | o | 3: 'F' |
|
240 | o | 3: e908b85f3729 'F' | |
241 | | | |
|
241 | | | | |
242 | o | 2: 'dev-one named branch' dev-one |
|
242 | o | 2: bc8139ee757c 'dev-one named branch' dev-one | |
243 | | | |
|
243 | | | | |
244 | | o 1: 'E' |
|
244 | | o 1: 9520eea781bc 'E' | |
245 | |/ |
|
245 | |/ | |
246 | @ 0: 'A' |
|
246 | @ 0: cd010b8cd998 'A' | |
247 |
|
247 | |||
248 | $ hg rebase -s 5 -d 6 |
|
248 | $ hg rebase -s 5 -d 6 | |
249 | abort: source and destination form a cycle |
|
249 | abort: source and destination form a cycle | |
@@ -257,25 +257,25 b' Rebasing descendant onto ancestor across' | |||||
257 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg (glob) |
|
257 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg (glob) | |
258 |
|
258 | |||
259 | $ hg tglog |
|
259 | $ hg tglog | |
260 | o 9: 'D' |
|
260 | o 9: e522577ccdbd 'D' | |
261 | | |
|
261 | | | |
262 | o 8: 'C' |
|
262 | o 8: 810110211f50 'C' | |
263 | | |
|
263 | | | |
264 | o 7: 'B' |
|
264 | o 7: 160b0930ccc6 'B' | |
265 | | |
|
265 | | | |
266 | o 6: 'dev-two named branch' |
|
266 | o 6: c57724c84928 'dev-two named branch' | |
267 | | |
|
267 | | | |
268 | o 5: 'H' |
|
268 | o 5: 8e279d293175 'H' | |
269 | | |
|
269 | | | |
270 | | o 4: 'G' |
|
270 | | o 4: aeefee77ab01 'G' | |
271 | |/| |
|
271 | |/| | |
272 | o | 3: 'F' |
|
272 | o | 3: e908b85f3729 'F' | |
273 | | | |
|
273 | | | | |
274 | o | 2: 'dev-one named branch' dev-one |
|
274 | o | 2: bc8139ee757c 'dev-one named branch' dev-one | |
275 | | | |
|
275 | | | | |
276 | | o 1: 'E' |
|
276 | | o 1: 9520eea781bc 'E' | |
277 | |/ |
|
277 | |/ | |
278 | @ 0: 'A' |
|
278 | @ 0: cd010b8cd998 'A' | |
279 |
|
279 | |||
280 |
|
280 | |||
281 | Reopen branch by rebase |
|
281 | Reopen branch by rebase | |
@@ -314,13 +314,13 b' Set up a case:' | |||||
314 | $ hg ci -m 'c1' |
|
314 | $ hg ci -m 'c1' | |
315 |
|
315 | |||
316 | $ hg tglog |
|
316 | $ hg tglog | |
317 | @ 3: 'c1' c |
|
317 | @ 3: c062e3ecd6c6 'c1' c | |
318 | | |
|
318 | | | |
319 | | o 2: 'b2' b |
|
319 | | o 2: 792845bb77ee 'b2' b | |
320 | |/ |
|
320 | |/ | |
321 | | o 1: 'b1' b |
|
321 | | o 1: 40039acb7ca5 'b1' b | |
322 | |/ |
|
322 | |/ | |
323 | o 0: '0' |
|
323 | o 0: d681519c3ea7 '0' | |
324 |
|
324 | |||
325 | $ hg clone -q . ../case2 |
|
325 | $ hg clone -q . ../case2 | |
326 |
|
326 | |||
@@ -332,11 +332,11 b" rebase 'b2' to another lower branch head" | |||||
332 | note: rebase of 2:792845bb77ee created no changes to commit |
|
332 | note: rebase of 2:792845bb77ee created no changes to commit | |
333 | saved backup bundle to $TESTTMP/case1/.hg/strip-backup/792845bb77ee-627120ee-rebase.hg (glob) |
|
333 | saved backup bundle to $TESTTMP/case1/.hg/strip-backup/792845bb77ee-627120ee-rebase.hg (glob) | |
334 | $ hg tglog |
|
334 | $ hg tglog | |
335 | o 2: 'c1' c |
|
335 | o 2: c062e3ecd6c6 'c1' c | |
336 | | |
|
336 | | | |
337 | | @ 1: 'b1' b |
|
337 | | @ 1: 40039acb7ca5 'b1' b | |
338 | |/ |
|
338 | |/ | |
339 | o 0: '0' |
|
339 | o 0: d681519c3ea7 '0' | |
340 |
|
340 | |||
341 |
|
341 | |||
342 | rebase 'b1' on top of the tip of the branch ('b2') - ignoring the tip branch ('c1') |
|
342 | rebase 'b1' on top of the tip of the branch ('b2') - ignoring the tip branch ('c1') | |
@@ -347,13 +347,13 b" rebase 'b1' on top of the tip of the bra" | |||||
347 | rebasing 1:40039acb7ca5 "b1" |
|
347 | rebasing 1:40039acb7ca5 "b1" | |
348 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/40039acb7ca5-342b72d1-rebase.hg (glob) |
|
348 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/40039acb7ca5-342b72d1-rebase.hg (glob) | |
349 | $ hg tglog |
|
349 | $ hg tglog | |
350 | @ 3: 'b1' b |
|
350 | @ 3: 76abc1c6f8c7 'b1' b | |
351 | | |
|
351 | | | |
352 | | o 2: 'c1' c |
|
352 | | o 2: c062e3ecd6c6 'c1' c | |
353 | | | |
|
353 | | | | |
354 | o | 1: 'b2' b |
|
354 | o | 1: 792845bb77ee 'b2' b | |
355 | |/ |
|
355 | |/ | |
356 | o 0: '0' |
|
356 | o 0: d681519c3ea7 '0' | |
357 |
|
357 | |||
358 |
|
358 | |||
359 | rebase 'c1' to the branch head 'c2' that is closed |
|
359 | rebase 'c1' to the branch head 'c2' that is closed | |
@@ -362,30 +362,30 b" rebase 'c1' to the branch head 'c2' that" | |||||
362 | $ hg ci -qm 'c2 closed' --close |
|
362 | $ hg ci -qm 'c2 closed' --close | |
363 | $ hg up -qr 2 |
|
363 | $ hg up -qr 2 | |
364 | $ hg tglog |
|
364 | $ hg tglog | |
365 | _ 4: 'c2 closed' c |
|
365 | _ 4: 8427af5d86f2 'c2 closed' c | |
366 | | |
|
366 | | | |
367 | o 3: 'b1' b |
|
367 | o 3: 76abc1c6f8c7 'b1' b | |
368 | | |
|
368 | | | |
369 | | @ 2: 'c1' c |
|
369 | | @ 2: c062e3ecd6c6 'c1' c | |
370 | | | |
|
370 | | | | |
371 | o | 1: 'b2' b |
|
371 | o | 1: 792845bb77ee 'b2' b | |
372 | |/ |
|
372 | |/ | |
373 | o 0: '0' |
|
373 | o 0: d681519c3ea7 '0' | |
374 |
|
374 | |||
375 | $ hg rebase |
|
375 | $ hg rebase | |
376 | abort: branch 'c' has one head - please rebase to an explicit rev |
|
376 | abort: branch 'c' has one head - please rebase to an explicit rev | |
377 | (run 'hg heads' to see all heads) |
|
377 | (run 'hg heads' to see all heads) | |
378 | [255] |
|
378 | [255] | |
379 | $ hg tglog |
|
379 | $ hg tglog | |
380 | _ 4: 'c2 closed' c |
|
380 | _ 4: 8427af5d86f2 'c2 closed' c | |
381 | | |
|
381 | | | |
382 | o 3: 'b1' b |
|
382 | o 3: 76abc1c6f8c7 'b1' b | |
383 | | |
|
383 | | | |
384 | | @ 2: 'c1' c |
|
384 | | @ 2: c062e3ecd6c6 'c1' c | |
385 | | | |
|
385 | | | | |
386 | o | 1: 'b2' b |
|
386 | o | 1: 792845bb77ee 'b2' b | |
387 | |/ |
|
387 | |/ | |
388 | o 0: '0' |
|
388 | o 0: d681519c3ea7 '0' | |
389 |
|
389 | |||
390 |
|
390 | |||
391 | $ hg up -cr 1 |
|
391 | $ hg up -cr 1 | |
@@ -398,13 +398,13 b" rebase 'c1' to the branch head 'c2' that" | |||||
398 | note: rebase of 4:8427af5d86f2 created no changes to commit |
|
398 | note: rebase of 4:8427af5d86f2 created no changes to commit | |
399 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg (glob) |
|
399 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg (glob) | |
400 | $ hg tglog |
|
400 | $ hg tglog | |
401 | o 3: 'b1' x |
|
401 | o 3: 117b0ed08075 'b1' x | |
402 | | |
|
402 | | | |
403 | | o 2: 'c1' c |
|
403 | | o 2: c062e3ecd6c6 'c1' c | |
404 | | | |
|
404 | | | | |
405 | @ | 1: 'b2' b |
|
405 | @ | 1: 792845bb77ee 'b2' b | |
406 | |/ |
|
406 | |/ | |
407 | o 0: '0' |
|
407 | o 0: d681519c3ea7 '0' | |
408 |
|
408 | |||
409 |
|
409 | |||
410 | $ cd .. |
|
410 | $ cd .. |
@@ -5,7 +5,7 b'' | |||||
5 | > rebase= |
|
5 | > rebase= | |
6 | > drawdag=$TESTDIR/drawdag.py |
|
6 | > drawdag=$TESTDIR/drawdag.py | |
7 | > [alias] |
|
7 | > [alias] | |
8 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
8 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
9 | > EOF |
|
9 | > EOF | |
10 |
|
10 | |||
11 | $ hg init repo |
|
11 | $ hg init repo | |
@@ -31,13 +31,13 b'' | |||||
31 | created new head |
|
31 | created new head | |
32 |
|
32 | |||
33 | $ hg tglog |
|
33 | $ hg tglog | |
34 | @ 3: 'AD' |
|
34 | @ 3: 3878212183bd 'AD' | |
35 | | |
|
35 | | | |
36 | | o 2: 'C' |
|
36 | | o 2: 30ae917c0e4f 'C' | |
37 | | | |
|
37 | | | | |
38 | | o 1: 'B' |
|
38 | | o 1: 0f4f7cb4f549 'B' | |
39 | |/ |
|
39 | |/ | |
40 | o 0: 'A' |
|
40 | o 0: 1e635d440a73 'A' | |
41 |
|
41 | |||
42 | $ hg rebase -s 1 -d 3 |
|
42 | $ hg rebase -s 1 -d 3 | |
43 | rebasing 1:0f4f7cb4f549 "B" |
|
43 | rebasing 1:0f4f7cb4f549 "B" | |
@@ -47,13 +47,13 b'' | |||||
47 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0f4f7cb4f549-82b3b163-rebase.hg (glob) |
|
47 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0f4f7cb4f549-82b3b163-rebase.hg (glob) | |
48 |
|
48 | |||
49 | $ hg tglog |
|
49 | $ hg tglog | |
50 | o 3: 'C' |
|
50 | o 3: 25773bc4b4b0 'C' | |
51 | | |
|
51 | | | |
52 | o 2: 'B' |
|
52 | o 2: c09015405f75 'B' | |
53 | | |
|
53 | | | |
54 | @ 1: 'AD' |
|
54 | @ 1: 3878212183bd 'AD' | |
55 | | |
|
55 | | | |
56 | o 0: 'A' |
|
56 | o 0: 1e635d440a73 'A' | |
57 |
|
57 | |||
58 |
|
58 | |||
59 | $ cd .. |
|
59 | $ cd .. | |
@@ -108,21 +108,21 b' wrong.' | |||||
108 | $ hg ci -Aqm 'default: f-other stuff' |
|
108 | $ hg ci -Aqm 'default: f-other stuff' | |
109 |
|
109 | |||
110 | $ hg tglog |
|
110 | $ hg tglog | |
111 | @ 7: 'default: f-other stuff' |
|
111 | @ 7: e08089805d82 'default: f-other stuff' | |
112 | | |
|
112 | | | |
113 | | o 6: 'dev: merge default' dev |
|
113 | | o 6: 9455ee510502 'dev: merge default' dev | |
114 | |/| |
|
114 | |/| | |
115 | o | 5: 'default: remove f-default' |
|
115 | o | 5: 462860db70a1 'default: remove f-default' | |
116 | | | |
|
116 | | | | |
117 | | o 4: 'dev: merge default' dev |
|
117 | | o 4: 4b019212aaf6 'dev: merge default' dev | |
118 | |/| |
|
118 | |/| | |
119 | o | 3: 'default: f-default stuff' |
|
119 | o | 3: f157ecfd2b6b 'default: f-default stuff' | |
120 | | | |
|
120 | | | | |
121 | | o 2: 'dev: f-dev stuff' dev |
|
121 | | o 2: ec2c14fb2984 'dev: f-dev stuff' dev | |
122 | | | |
|
122 | | | | |
123 | | o 1: 'dev: create branch' dev |
|
123 | | o 1: 1d1a643d390e 'dev: create branch' dev | |
124 | |/ |
|
124 | |/ | |
125 | o 0: 'default: create f-default' |
|
125 | o 0: e90e8eb90b6f 'default: create f-default' | |
126 |
|
126 | |||
127 | $ hg clone -qU . ../ancestor-merge-2 |
|
127 | $ hg clone -qU . ../ancestor-merge-2 | |
128 |
|
128 | |||
@@ -140,19 +140,19 b' Full rebase all the way back from branch' | |||||
140 | rebasing 6:9455ee510502 "dev: merge default" |
|
140 | rebasing 6:9455ee510502 "dev: merge default" | |
141 | saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-43e9e04b-rebase.hg (glob) |
|
141 | saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-43e9e04b-rebase.hg (glob) | |
142 | $ hg tglog |
|
142 | $ hg tglog | |
143 | o 6: 'dev: merge default' |
|
143 | o 6: fbc098e72227 'dev: merge default' | |
144 | | |
|
144 | | | |
145 | o 5: 'dev: merge default' |
|
145 | o 5: eda7b7f46f5d 'dev: merge default' | |
146 | | |
|
146 | | | |
147 | o 4: 'dev: f-dev stuff' |
|
147 | o 4: 3e075b1c0a40 'dev: f-dev stuff' | |
148 | | |
|
148 | | | |
149 | @ 3: 'default: f-other stuff' |
|
149 | @ 3: e08089805d82 'default: f-other stuff' | |
150 | | |
|
150 | | | |
151 | o 2: 'default: remove f-default' |
|
151 | o 2: 462860db70a1 'default: remove f-default' | |
152 | | |
|
152 | | | |
153 | o 1: 'default: f-default stuff' |
|
153 | o 1: f157ecfd2b6b 'default: f-default stuff' | |
154 | | |
|
154 | | | |
155 | o 0: 'default: create f-default' |
|
155 | o 0: e90e8eb90b6f 'default: create f-default' | |
156 |
|
156 | |||
157 | Grafty cherry picking rebasing: |
|
157 | Grafty cherry picking rebasing: | |
158 |
|
158 | |||
@@ -169,21 +169,21 b' Grafty cherry picking rebasing:' | |||||
169 | rebasing 6:9455ee510502 "dev: merge default" |
|
169 | rebasing 6:9455ee510502 "dev: merge default" | |
170 | saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984-62d0b222-rebase.hg (glob) |
|
170 | saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984-62d0b222-rebase.hg (glob) | |
171 | $ hg tglog |
|
171 | $ hg tglog | |
172 | o 7: 'dev: merge default' |
|
172 | o 7: fbc098e72227 'dev: merge default' | |
173 | | |
|
173 | | | |
174 | o 6: 'dev: merge default' |
|
174 | o 6: eda7b7f46f5d 'dev: merge default' | |
175 | | |
|
175 | | | |
176 | o 5: 'dev: f-dev stuff' |
|
176 | o 5: 3e075b1c0a40 'dev: f-dev stuff' | |
177 | | |
|
177 | | | |
178 | o 4: 'default: f-other stuff' |
|
178 | o 4: e08089805d82 'default: f-other stuff' | |
179 | | |
|
179 | | | |
180 | o 3: 'default: remove f-default' |
|
180 | o 3: 462860db70a1 'default: remove f-default' | |
181 | | |
|
181 | | | |
182 | o 2: 'default: f-default stuff' |
|
182 | o 2: f157ecfd2b6b 'default: f-default stuff' | |
183 | | |
|
183 | | | |
184 | | o 1: 'dev: create branch' dev |
|
184 | | o 1: 1d1a643d390e 'dev: create branch' dev | |
185 | |/ |
|
185 | |/ | |
186 | o 0: 'default: create f-default' |
|
186 | o 0: e90e8eb90b6f 'default: create f-default' | |
187 |
|
187 | |||
188 | $ cd .. |
|
188 | $ cd .. | |
189 |
|
189 | |||
@@ -225,17 +225,17 b' Test order of parents of rebased merged ' | |||||
225 | summary: merge p1 1=ancestor p2 3=outside |
|
225 | summary: merge p1 1=ancestor p2 3=outside | |
226 |
|
226 | |||
227 | $ hg tglog |
|
227 | $ hg tglog | |
228 | @ 5: 'merge p1 1=ancestor p2 3=outside' |
|
228 | @ 5: a57575f79074 'merge p1 1=ancestor p2 3=outside' | |
229 | |\ |
|
229 | |\ | |
230 | +---o 4: 'merge p1 3=outside p2 1=ancestor' |
|
230 | +---o 4: 6990226659be 'merge p1 3=outside p2 1=ancestor' | |
231 | | |/ |
|
231 | | |/ | |
232 | | o 3: 'outside' |
|
232 | | o 3: f59da8fc0fcf 'outside' | |
233 | | | |
|
233 | | | | |
234 | +---o 2: 'target' |
|
234 | +---o 2: a60552eb93fb 'target' | |
235 | | | |
|
235 | | | | |
236 | o | 1: 'change' |
|
236 | o | 1: dd40c13f7a6f 'change' | |
237 | |/ |
|
237 | |/ | |
238 | o 0: 'common' |
|
238 | o 0: 02f0f58d5300 'common' | |
239 |
|
239 | |||
240 | $ hg rebase -r 4 -d 2 |
|
240 | $ hg rebase -r 4 -d 2 | |
241 | rebasing 4:6990226659be "merge p1 3=outside p2 1=ancestor" |
|
241 | rebasing 4:6990226659be "merge p1 3=outside p2 1=ancestor" | |
@@ -262,17 +262,17 b' Test order of parents of rebased merged ' | |||||
262 | summary: merge p1 1=ancestor p2 3=outside |
|
262 | summary: merge p1 1=ancestor p2 3=outside | |
263 |
|
263 | |||
264 | $ hg tglog |
|
264 | $ hg tglog | |
265 | @ 5: 'merge p1 1=ancestor p2 3=outside' |
|
265 | @ 5: f9daf77ffe76 'merge p1 1=ancestor p2 3=outside' | |
266 | |\ |
|
266 | |\ | |
267 | +---o 4: 'merge p1 3=outside p2 1=ancestor' |
|
267 | +---o 4: cca50676b1c5 'merge p1 3=outside p2 1=ancestor' | |
268 | | |/ |
|
268 | | |/ | |
269 | | o 3: 'outside' |
|
269 | | o 3: f59da8fc0fcf 'outside' | |
270 | | | |
|
270 | | | | |
271 | o | 2: 'target' |
|
271 | o | 2: a60552eb93fb 'target' | |
272 | | | |
|
272 | | | | |
273 | o | 1: 'change' |
|
273 | o | 1: dd40c13f7a6f 'change' | |
274 | |/ |
|
274 | |/ | |
275 | o 0: 'common' |
|
275 | o 0: 02f0f58d5300 'common' | |
276 |
|
276 | |||
277 | rebase of merge of ancestors |
|
277 | rebase of merge of ancestors | |
278 |
|
278 | |||
@@ -320,19 +320,19 b' rebase of merge of ancestors' | |||||
320 | added 1 changesets with 1 changes to 1 files |
|
320 | added 1 changesets with 1 changes to 1 files | |
321 | rebase completed |
|
321 | rebase completed | |
322 | $ hg tglog |
|
322 | $ hg tglog | |
323 | @ 6: 'merge rebase ancestors' |
|
323 | @ 6: 113755df812b 'merge rebase ancestors' | |
324 | | |
|
324 | | | |
325 | o 5: 'merge p1 1=ancestor p2 3=outside' |
|
325 | o 5: f9daf77ffe76 'merge p1 1=ancestor p2 3=outside' | |
326 | |\ |
|
326 | |\ | |
327 | +---o 4: 'merge p1 3=outside p2 1=ancestor' |
|
327 | +---o 4: cca50676b1c5 'merge p1 3=outside p2 1=ancestor' | |
328 | | |/ |
|
328 | | |/ | |
329 | | o 3: 'outside' |
|
329 | | o 3: f59da8fc0fcf 'outside' | |
330 | | | |
|
330 | | | | |
331 | o | 2: 'target' |
|
331 | o | 2: a60552eb93fb 'target' | |
332 | | | |
|
332 | | | | |
333 | o | 1: 'change' |
|
333 | o | 1: dd40c13f7a6f 'change' | |
334 | |/ |
|
334 | |/ | |
335 | o 0: 'common' |
|
335 | o 0: 02f0f58d5300 'common' | |
336 |
|
336 | |||
337 | Due to the limitation of 3-way merge algorithm (1 merge base), rebasing a merge |
|
337 | Due to the limitation of 3-way merge algorithm (1 merge base), rebasing a merge | |
338 | may include unwanted content: |
|
338 | may include unwanted content: |
@@ -6,7 +6,7 b'' | |||||
6 | > publish=False |
|
6 | > publish=False | |
7 | > |
|
7 | > | |
8 | > [alias] |
|
8 | > [alias] | |
9 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
9 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
10 | > EOF |
|
10 | > EOF | |
11 |
|
11 | |||
12 |
|
12 | |||
@@ -27,23 +27,23 b'' | |||||
27 | adding I |
|
27 | adding I | |
28 |
|
28 | |||
29 | $ hg tglog |
|
29 | $ hg tglog | |
30 | @ 8: 'I' |
|
30 | @ 8: e7ec4e813ba6 'I' | |
31 | | |
|
31 | | | |
32 | o 7: 'H' |
|
32 | o 7: 02de42196ebe 'H' | |
33 | | |
|
33 | | | |
34 | | o 6: 'G' |
|
34 | | o 6: eea13746799a 'G' | |
35 | |/| |
|
35 | |/| | |
36 | o | 5: 'F' |
|
36 | o | 5: 24b6387c8c8c 'F' | |
37 | | | |
|
37 | | | | |
38 | | o 4: 'E' |
|
38 | | o 4: 9520eea781bc 'E' | |
39 | |/ |
|
39 | |/ | |
40 | | o 3: 'D' |
|
40 | | o 3: 32af7686d403 'D' | |
41 | | | |
|
41 | | | | |
42 | | o 2: 'C' |
|
42 | | o 2: 5fddd98957c8 'C' | |
43 | | | |
|
43 | | | | |
44 | | o 1: 'B' |
|
44 | | o 1: 42ccdea3bb16 'B' | |
45 | |/ |
|
45 | |/ | |
46 | o 0: 'A' |
|
46 | o 0: cd010b8cd998 'A' | |
47 |
|
47 | |||
48 | $ cd .. |
|
48 | $ cd .. | |
49 |
|
49 | |||
@@ -138,19 +138,19 b' Rebase with no arguments (from 3 onto 8)' | |||||
138 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
138 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
139 |
|
139 | |||
140 | $ hg tglog |
|
140 | $ hg tglog | |
141 | @ 6: 'D' |
|
141 | @ 6: ed65089c18f8 'D' | |
142 | | |
|
142 | | | |
143 | o 5: 'C' |
|
143 | o 5: 7621bf1a2f17 'C' | |
144 | | |
|
144 | | | |
145 | o 4: 'B' |
|
145 | o 4: 9430a62369c6 'B' | |
146 | | |
|
146 | | | |
147 | o 3: 'I' |
|
147 | o 3: e7ec4e813ba6 'I' | |
148 | | |
|
148 | | | |
149 | o 2: 'H' |
|
149 | o 2: 02de42196ebe 'H' | |
150 | | |
|
150 | | | |
151 | o 1: 'F' |
|
151 | o 1: 24b6387c8c8c 'F' | |
152 | | |
|
152 | | | |
153 | o 0: 'A' |
|
153 | o 0: cd010b8cd998 'A' | |
154 |
|
154 | |||
155 | Try to rollback after a rebase (fail): |
|
155 | Try to rollback after a rebase (fail): | |
156 |
|
156 | |||
@@ -172,19 +172,19 b" Rebase with base == '.' => same as no ar" | |||||
172 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
172 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
173 |
|
173 | |||
174 | $ hg tglog |
|
174 | $ hg tglog | |
175 | @ 6: 'D' |
|
175 | @ 6: ed65089c18f8 'D' | |
176 | | |
|
176 | | | |
177 | o 5: 'C' |
|
177 | o 5: 7621bf1a2f17 'C' | |
178 | | |
|
178 | | | |
179 | o 4: 'B' |
|
179 | o 4: 9430a62369c6 'B' | |
180 | | |
|
180 | | | |
181 | o 3: 'I' |
|
181 | o 3: e7ec4e813ba6 'I' | |
182 | | |
|
182 | | | |
183 | o 2: 'H' |
|
183 | o 2: 02de42196ebe 'H' | |
184 | | |
|
184 | | | |
185 | o 1: 'F' |
|
185 | o 1: 24b6387c8c8c 'F' | |
186 | | |
|
186 | | | |
187 | o 0: 'A' |
|
187 | o 0: cd010b8cd998 'A' | |
188 |
|
188 | |||
189 | $ cd .. |
|
189 | $ cd .. | |
190 |
|
190 | |||
@@ -201,23 +201,23 b' Rebase with dest == branch(.) => same as' | |||||
201 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
201 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
202 |
|
202 | |||
203 | $ hg tglog |
|
203 | $ hg tglog | |
204 | @ 8: 'D' |
|
204 | @ 8: ed65089c18f8 'D' | |
205 | | |
|
205 | | | |
206 | o 7: 'C' |
|
206 | o 7: 7621bf1a2f17 'C' | |
207 | | |
|
207 | | | |
208 | o 6: 'B' |
|
208 | o 6: 9430a62369c6 'B' | |
209 | | |
|
209 | | | |
210 | o 5: 'I' |
|
210 | o 5: e7ec4e813ba6 'I' | |
211 | | |
|
211 | | | |
212 | o 4: 'H' |
|
212 | o 4: 02de42196ebe 'H' | |
213 | | |
|
213 | | | |
214 | | o 3: 'G' |
|
214 | | o 3: eea13746799a 'G' | |
215 | |/| |
|
215 | |/| | |
216 | o | 2: 'F' |
|
216 | o | 2: 24b6387c8c8c 'F' | |
217 | | | |
|
217 | | | | |
218 | | o 1: 'E' |
|
218 | | o 1: 9520eea781bc 'E' | |
219 | |/ |
|
219 | |/ | |
220 | o 0: 'A' |
|
220 | o 0: cd010b8cd998 'A' | |
221 |
|
221 | |||
222 | $ cd .. |
|
222 | $ cd .. | |
223 |
|
223 | |||
@@ -233,19 +233,19 b' Specify only source (from 2 onto 8):' | |||||
233 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) |
|
233 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) | |
234 |
|
234 | |||
235 | $ hg tglog |
|
235 | $ hg tglog | |
236 | o 6: 'D' |
|
236 | o 6: 7726e9fd58f7 'D' | |
237 | | |
|
237 | | | |
238 | o 5: 'C' |
|
238 | o 5: 72c8333623d0 'C' | |
239 | | |
|
239 | | | |
240 | @ 4: 'I' |
|
240 | @ 4: e7ec4e813ba6 'I' | |
241 | | |
|
241 | | | |
242 | o 3: 'H' |
|
242 | o 3: 02de42196ebe 'H' | |
243 | | |
|
243 | | | |
244 | o 2: 'F' |
|
244 | o 2: 24b6387c8c8c 'F' | |
245 | | |
|
245 | | | |
246 | | o 1: 'B' |
|
246 | | o 1: 42ccdea3bb16 'B' | |
247 | |/ |
|
247 | |/ | |
248 | o 0: 'A' |
|
248 | o 0: cd010b8cd998 'A' | |
249 |
|
249 | |||
250 | $ cd .. |
|
250 | $ cd .. | |
251 |
|
251 | |||
@@ -262,23 +262,23 b' Specify only dest (from 3 onto 6):' | |||||
262 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
262 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
263 |
|
263 | |||
264 | $ hg tglog |
|
264 | $ hg tglog | |
265 | @ 8: 'D' |
|
265 | @ 8: 8eeb3c33ad33 'D' | |
266 | | |
|
266 | | | |
267 | o 7: 'C' |
|
267 | o 7: 2327fea05063 'C' | |
268 | | |
|
268 | | | |
269 | o 6: 'B' |
|
269 | o 6: e4e5be0395b2 'B' | |
270 | | |
|
270 | | | |
271 | | o 5: 'I' |
|
271 | | o 5: e7ec4e813ba6 'I' | |
272 | | | |
|
272 | | | | |
273 | | o 4: 'H' |
|
273 | | o 4: 02de42196ebe 'H' | |
274 | | | |
|
274 | | | | |
275 | o | 3: 'G' |
|
275 | o | 3: eea13746799a 'G' | |
276 | |\| |
|
276 | |\| | |
277 | | o 2: 'F' |
|
277 | | o 2: 24b6387c8c8c 'F' | |
278 | | | |
|
278 | | | | |
279 | o | 1: 'E' |
|
279 | o | 1: 9520eea781bc 'E' | |
280 | |/ |
|
280 | |/ | |
281 | o 0: 'A' |
|
281 | o 0: cd010b8cd998 'A' | |
282 |
|
282 | |||
283 | $ cd .. |
|
283 | $ cd .. | |
284 |
|
284 | |||
@@ -295,19 +295,19 b' Specify only base (from 1 onto 8):' | |||||
295 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
295 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
296 |
|
296 | |||
297 | $ hg tglog |
|
297 | $ hg tglog | |
298 | o 6: 'D' |
|
298 | o 6: ed65089c18f8 'D' | |
299 | | |
|
299 | | | |
300 | o 5: 'C' |
|
300 | o 5: 7621bf1a2f17 'C' | |
301 | | |
|
301 | | | |
302 | o 4: 'B' |
|
302 | o 4: 9430a62369c6 'B' | |
303 | | |
|
303 | | | |
304 | @ 3: 'I' |
|
304 | @ 3: e7ec4e813ba6 'I' | |
305 | | |
|
305 | | | |
306 | o 2: 'H' |
|
306 | o 2: 02de42196ebe 'H' | |
307 | | |
|
307 | | | |
308 | o 1: 'F' |
|
308 | o 1: 24b6387c8c8c 'F' | |
309 | | |
|
309 | | | |
310 | o 0: 'A' |
|
310 | o 0: cd010b8cd998 'A' | |
311 |
|
311 | |||
312 | $ cd .. |
|
312 | $ cd .. | |
313 |
|
313 | |||
@@ -323,23 +323,23 b' Specify source and dest (from 2 onto 7):' | |||||
323 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) |
|
323 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) | |
324 |
|
324 | |||
325 | $ hg tglog |
|
325 | $ hg tglog | |
326 | o 8: 'D' |
|
326 | o 8: 668acadedd30 'D' | |
327 | | |
|
327 | | | |
328 | o 7: 'C' |
|
328 | o 7: 09eb682ba906 'C' | |
329 | | |
|
329 | | | |
330 | | @ 6: 'I' |
|
330 | | @ 6: e7ec4e813ba6 'I' | |
331 | |/ |
|
331 | |/ | |
332 | o 5: 'H' |
|
332 | o 5: 02de42196ebe 'H' | |
333 | | |
|
333 | | | |
334 | | o 4: 'G' |
|
334 | | o 4: eea13746799a 'G' | |
335 | |/| |
|
335 | |/| | |
336 | o | 3: 'F' |
|
336 | o | 3: 24b6387c8c8c 'F' | |
337 | | | |
|
337 | | | | |
338 | | o 2: 'E' |
|
338 | | o 2: 9520eea781bc 'E' | |
339 | |/ |
|
339 | |/ | |
340 | | o 1: 'B' |
|
340 | | o 1: 42ccdea3bb16 'B' | |
341 | |/ |
|
341 | |/ | |
342 | o 0: 'A' |
|
342 | o 0: cd010b8cd998 'A' | |
343 |
|
343 | |||
344 | $ cd .. |
|
344 | $ cd .. | |
345 |
|
345 | |||
@@ -356,23 +356,23 b' Specify base and dest (from 1 onto 7):' | |||||
356 | saved backup bundle to $TESTTMP/a8/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) |
|
356 | saved backup bundle to $TESTTMP/a8/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg (glob) | |
357 |
|
357 | |||
358 | $ hg tglog |
|
358 | $ hg tglog | |
359 | o 8: 'D' |
|
359 | o 8: 287cc92ba5a4 'D' | |
360 | | |
|
360 | | | |
361 | o 7: 'C' |
|
361 | o 7: 6824f610a250 'C' | |
362 | | |
|
362 | | | |
363 | o 6: 'B' |
|
363 | o 6: 7c6027df6a99 'B' | |
364 | | |
|
364 | | | |
365 | | @ 5: 'I' |
|
365 | | @ 5: e7ec4e813ba6 'I' | |
366 | |/ |
|
366 | |/ | |
367 | o 4: 'H' |
|
367 | o 4: 02de42196ebe 'H' | |
368 | | |
|
368 | | | |
369 | | o 3: 'G' |
|
369 | | o 3: eea13746799a 'G' | |
370 | |/| |
|
370 | |/| | |
371 | o | 2: 'F' |
|
371 | o | 2: 24b6387c8c8c 'F' | |
372 | | | |
|
372 | | | | |
373 | | o 1: 'E' |
|
373 | | o 1: 9520eea781bc 'E' | |
374 | |/ |
|
374 | |/ | |
375 | o 0: 'A' |
|
375 | o 0: cd010b8cd998 'A' | |
376 |
|
376 | |||
377 | $ cd .. |
|
377 | $ cd .. | |
378 |
|
378 | |||
@@ -388,19 +388,19 b' Specify only revs (from 2 onto 8)' | |||||
388 | saved backup bundle to $TESTTMP/a9/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) |
|
388 | saved backup bundle to $TESTTMP/a9/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) | |
389 |
|
389 | |||
390 | $ hg tglog |
|
390 | $ hg tglog | |
391 | o 6: 'D' |
|
391 | o 6: 7726e9fd58f7 'D' | |
392 | | |
|
392 | | | |
393 | o 5: 'C' |
|
393 | o 5: 72c8333623d0 'C' | |
394 | | |
|
394 | | | |
395 | @ 4: 'I' |
|
395 | @ 4: e7ec4e813ba6 'I' | |
396 | | |
|
396 | | | |
397 | o 3: 'H' |
|
397 | o 3: 02de42196ebe 'H' | |
398 | | |
|
398 | | | |
399 | o 2: 'F' |
|
399 | o 2: 24b6387c8c8c 'F' | |
400 | | |
|
400 | | | |
401 | | o 1: 'B' |
|
401 | | o 1: 42ccdea3bb16 'B' | |
402 | |/ |
|
402 | |/ | |
403 | o 0: 'A' |
|
403 | o 0: cd010b8cd998 'A' | |
404 |
|
404 | |||
405 | $ cd .. |
|
405 | $ cd .. | |
406 |
|
406 |
@@ -11,7 +11,7 b' destination (issue5422)' | |||||
11 | > evolution.allowunstable=True |
|
11 | > evolution.allowunstable=True | |
12 | > |
|
12 | > | |
13 | > [alias] |
|
13 | > [alias] | |
14 | > tglog = log -G --template "{rev}: {desc}" |
|
14 | > tglog = log -G --template "{rev}: {node|short} {desc}" | |
15 | > EOF |
|
15 | > EOF | |
16 |
|
16 | |||
17 | $ rebasewithdag() { |
|
17 | $ rebasewithdag() { | |
@@ -37,15 +37,15 b' Rebase two commits, of which one is alre' | |||||
37 | > EOF |
|
37 | > EOF | |
38 | rebasing 2:b18e25de2cf5 "D" (D) |
|
38 | rebasing 2:b18e25de2cf5 "D" (D) | |
39 | already rebased 3:26805aba1e60 "C" (C tip) |
|
39 | already rebased 3:26805aba1e60 "C" (C tip) | |
40 | o 4: D |
|
40 | o 4: fe3b4c6498fa D | |
41 | | |
|
41 | | | |
42 | | o 3: C |
|
42 | | o 3: 26805aba1e60 C | |
43 | |/ |
|
43 | |/ | |
44 | | x 2: D |
|
44 | | x 2: b18e25de2cf5 D | |
45 | | | |
|
45 | | | | |
46 | o | 1: B |
|
46 | o | 1: 112478962961 B | |
47 | |/ |
|
47 | |/ | |
48 | o 0: A |
|
48 | o 0: 426bada5c675 A | |
49 |
|
49 | |||
50 | Can collapse commits even if one is already in the right place |
|
50 | Can collapse commits even if one is already in the right place | |
51 |
|
51 | |||
@@ -58,16 +58,16 b' Can collapse commits even if one is alre' | |||||
58 | > EOF |
|
58 | > EOF | |
59 | rebasing 2:b18e25de2cf5 "D" (D) |
|
59 | rebasing 2:b18e25de2cf5 "D" (D) | |
60 | rebasing 3:26805aba1e60 "C" (C tip) |
|
60 | rebasing 3:26805aba1e60 "C" (C tip) | |
61 | o 4: Collapsed revision |
|
61 | o 4: a2493f4ace65 Collapsed revision | |
62 | | * D |
|
62 | | * D | |
63 | | * C |
|
63 | | * C | |
64 | | x 3: C |
|
64 | | x 3: 26805aba1e60 C | |
65 | |/ |
|
65 | |/ | |
66 | | x 2: D |
|
66 | | x 2: b18e25de2cf5 D | |
67 | | | |
|
67 | | | | |
68 | o | 1: B |
|
68 | o | 1: 112478962961 B | |
69 | |/ |
|
69 | |/ | |
70 | o 0: A |
|
70 | o 0: 426bada5c675 A | |
71 |
|
71 | |||
72 | Rebase with "holes". The commits after the hole should end up on the parent of |
|
72 | Rebase with "holes". The commits after the hole should end up on the parent of | |
73 | the hole (B below), not on top of the destination (A). |
|
73 | the hole (B below), not on top of the destination (A). | |
@@ -83,13 +83,13 b' the hole (B below), not on top of the de' | |||||
83 | > EOF |
|
83 | > EOF | |
84 | already rebased 1:112478962961 "B" (B) |
|
84 | already rebased 1:112478962961 "B" (B) | |
85 | rebasing 3:f585351a92f8 "D" (D tip) |
|
85 | rebasing 3:f585351a92f8 "D" (D tip) | |
86 | o 4: D |
|
86 | o 4: 1e6da8103bc7 D | |
87 | | |
|
87 | | | |
88 | | x 3: D |
|
88 | | x 3: f585351a92f8 D | |
89 | | | |
|
89 | | | | |
90 | | o 2: C |
|
90 | | o 2: 26805aba1e60 C | |
91 | |/ |
|
91 | |/ | |
92 | o 1: B |
|
92 | o 1: 112478962961 B | |
93 | | |
|
93 | | | |
94 | o 0: A |
|
94 | o 0: 426bada5c675 A | |
95 |
|
95 |
@@ -4,7 +4,7 b'' | |||||
4 | > histedit= |
|
4 | > histedit= | |
5 | > |
|
5 | > | |
6 | > [alias] |
|
6 | > [alias] | |
7 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
7 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
8 | > EOF |
|
8 | > EOF | |
9 |
|
9 | |||
10 |
|
10 | |||
@@ -59,13 +59,13 b' Now b has one revision to be pulled from' | |||||
59 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg (glob) |
|
59 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg (glob) | |
60 |
|
60 | |||
61 | $ hg tglog |
|
61 | $ hg tglog | |
62 | @ 3: 'L1' |
|
62 | @ 3: d80cc2da061e 'L1' | |
63 | | |
|
63 | | | |
64 | o 2: 'R1' |
|
64 | o 2: 77ae9631bcca 'R1' | |
65 | | |
|
65 | | | |
66 | o 1: 'C2' |
|
66 | o 1: 783333faa078 'C2' | |
67 | | |
|
67 | | | |
68 | o 0: 'C1' |
|
68 | o 0: 05d58a0c15dd 'C1' | |
69 |
|
69 | |||
70 | Re-run: |
|
70 | Re-run: | |
71 |
|
71 | |||
@@ -103,9 +103,9 b' Abort pull early with pending uncommitte' | |||||
103 | $ hg clone --noupdate c d |
|
103 | $ hg clone --noupdate c d | |
104 | $ cd d |
|
104 | $ cd d | |
105 | $ hg tglog |
|
105 | $ hg tglog | |
106 | o 1: 'C2' |
|
106 | o 1: 783333faa078 'C2' | |
107 | | |
|
107 | | | |
108 | o 0: 'C1' |
|
108 | o 0: 05d58a0c15dd 'C1' | |
109 |
|
109 | |||
110 | $ hg update --quiet 0 |
|
110 | $ hg update --quiet 0 | |
111 | $ echo M1 > M1 |
|
111 | $ echo M1 > M1 | |
@@ -150,7 +150,7 b' Invoke pull --rebase and nothing to reba' | |||||
150 | updating bookmark norebase |
|
150 | updating bookmark norebase | |
151 |
|
151 | |||
152 | $ hg tglog -l 1 |
|
152 | $ hg tglog -l 1 | |
153 | @ 2: 'R1' |
|
153 | @ 2: 77ae9631bcca 'R1' | |
154 | | |
|
154 | | | |
155 | ~ |
|
155 | ~ | |
156 |
|
156 | |||
@@ -171,7 +171,7 b" pull --rebase doesn't update if nothing " | |||||
171 | no changes found |
|
171 | no changes found | |
172 |
|
172 | |||
173 | $ hg tglog -l 1 |
|
173 | $ hg tglog -l 1 | |
174 | o 2: 'R1' |
|
174 | o 2: 77ae9631bcca 'R1' | |
175 | | |
|
175 | | | |
176 | ~ |
|
176 | ~ | |
177 |
|
177 | |||
@@ -181,11 +181,11 b' pull --rebase works when a specific revi' | |||||
181 |
|
181 | |||
182 | $ cd a |
|
182 | $ cd a | |
183 | $ hg tglog |
|
183 | $ hg tglog | |
184 | @ 2: 'R1' |
|
184 | @ 2: 77ae9631bcca 'R1' | |
185 | | |
|
185 | | | |
186 | o 1: 'C2' |
|
186 | o 1: 783333faa078 'C2' | |
187 | | |
|
187 | | | |
188 | o 0: 'C1' |
|
188 | o 0: 05d58a0c15dd 'C1' | |
189 |
|
189 | |||
190 | $ echo R2 > R2 |
|
190 | $ echo R2 > R2 | |
191 | $ hg ci -Am R2 |
|
191 | $ hg ci -Am R2 | |
@@ -195,11 +195,11 b' pull --rebase works when a specific revi' | |||||
195 | adding R3 |
|
195 | adding R3 | |
196 | $ cd ../c |
|
196 | $ cd ../c | |
197 | $ hg tglog |
|
197 | $ hg tglog | |
198 | o 2: 'R1' |
|
198 | o 2: 77ae9631bcca 'R1' | |
199 | | |
|
199 | | | |
200 | @ 1: 'C2' |
|
200 | @ 1: 783333faa078 'C2' | |
201 | | |
|
201 | | | |
202 | o 0: 'C1' |
|
202 | o 0: 05d58a0c15dd 'C1' | |
203 |
|
203 | |||
204 | $ echo L1 > L1 |
|
204 | $ echo L1 > L1 | |
205 | $ hg ci -Am L1 |
|
205 | $ hg ci -Am L1 | |
@@ -216,17 +216,17 b' pull --rebase works when a specific revi' | |||||
216 | rebasing 3:ff8d69a621f9 "L1" |
|
216 | rebasing 3:ff8d69a621f9 "L1" | |
217 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg (glob) |
|
217 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg (glob) | |
218 | $ hg tglog |
|
218 | $ hg tglog | |
219 | @ 5: 'L1' |
|
219 | @ 5: 518d153c0ba3 'L1' | |
220 | | |
|
220 | | | |
221 | o 4: 'R3' |
|
221 | o 4: 770a61882ace 'R3' | |
222 | | |
|
222 | | | |
223 | o 3: 'R2' |
|
223 | o 3: 31cd3a05214e 'R2' | |
224 | | |
|
224 | | | |
225 | o 2: 'R1' |
|
225 | o 2: 77ae9631bcca 'R1' | |
226 | | |
|
226 | | | |
227 | o 1: 'C2' |
|
227 | o 1: 783333faa078 'C2' | |
228 | | |
|
228 | | | |
229 | o 0: 'C1' |
|
229 | o 0: 05d58a0c15dd 'C1' | |
230 |
|
230 | |||
231 | pull --rebase works with bundle2 turned on |
|
231 | pull --rebase works with bundle2 turned on | |
232 |
|
232 | |||
@@ -235,17 +235,17 b' pull --rebase works with bundle2 turned ' | |||||
235 | $ hg ci -Am R4 |
|
235 | $ hg ci -Am R4 | |
236 | adding R4 |
|
236 | adding R4 | |
237 | $ hg tglog |
|
237 | $ hg tglog | |
238 | @ 5: 'R4' |
|
238 | @ 5: 00e3b7781125 'R4' | |
239 | | |
|
239 | | | |
240 | o 4: 'R3' |
|
240 | o 4: 770a61882ace 'R3' | |
241 | | |
|
241 | | | |
242 | o 3: 'R2' |
|
242 | o 3: 31cd3a05214e 'R2' | |
243 | | |
|
243 | | | |
244 | o 2: 'R1' |
|
244 | o 2: 77ae9631bcca 'R1' | |
245 | | |
|
245 | | | |
246 | o 1: 'C2' |
|
246 | o 1: 783333faa078 'C2' | |
247 | | |
|
247 | | | |
248 | o 0: 'C1' |
|
248 | o 0: 05d58a0c15dd 'C1' | |
249 |
|
249 | |||
250 | $ cd ../c |
|
250 | $ cd ../c | |
251 | $ hg pull --rebase |
|
251 | $ hg pull --rebase | |
@@ -259,19 +259,19 b' pull --rebase works with bundle2 turned ' | |||||
259 | rebasing 5:518d153c0ba3 "L1" |
|
259 | rebasing 5:518d153c0ba3 "L1" | |
260 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/518d153c0ba3-73407f14-rebase.hg (glob) |
|
260 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/518d153c0ba3-73407f14-rebase.hg (glob) | |
261 | $ hg tglog |
|
261 | $ hg tglog | |
262 | @ 6: 'L1' |
|
262 | @ 6: 0d0727eb7ce0 'L1' | |
263 | | |
|
263 | | | |
264 | o 5: 'R4' |
|
264 | o 5: 00e3b7781125 'R4' | |
265 | | |
|
265 | | | |
266 | o 4: 'R3' |
|
266 | o 4: 770a61882ace 'R3' | |
267 | | |
|
267 | | | |
268 | o 3: 'R2' |
|
268 | o 3: 31cd3a05214e 'R2' | |
269 | | |
|
269 | | | |
270 | o 2: 'R1' |
|
270 | o 2: 77ae9631bcca 'R1' | |
271 | | |
|
271 | | | |
272 | o 1: 'C2' |
|
272 | o 1: 783333faa078 'C2' | |
273 | | |
|
273 | | | |
274 | o 0: 'C1' |
|
274 | o 0: 05d58a0c15dd 'C1' | |
275 |
|
275 | |||
276 |
|
276 | |||
277 | pull --rebase only update if there is nothing to rebase |
|
277 | pull --rebase only update if there is nothing to rebase | |
@@ -281,19 +281,19 b' pull --rebase only update if there is no' | |||||
281 | $ hg ci -Am R5 |
|
281 | $ hg ci -Am R5 | |
282 | adding R5 |
|
282 | adding R5 | |
283 | $ hg tglog |
|
283 | $ hg tglog | |
284 | @ 6: 'R5' |
|
284 | @ 6: 88dd24261747 'R5' | |
285 | | |
|
285 | | | |
286 | o 5: 'R4' |
|
286 | o 5: 00e3b7781125 'R4' | |
287 | | |
|
287 | | | |
288 | o 4: 'R3' |
|
288 | o 4: 770a61882ace 'R3' | |
289 | | |
|
289 | | | |
290 | o 3: 'R2' |
|
290 | o 3: 31cd3a05214e 'R2' | |
291 | | |
|
291 | | | |
292 | o 2: 'R1' |
|
292 | o 2: 77ae9631bcca 'R1' | |
293 | | |
|
293 | | | |
294 | o 1: 'C2' |
|
294 | o 1: 783333faa078 'C2' | |
295 | | |
|
295 | | | |
296 | o 0: 'C1' |
|
296 | o 0: 05d58a0c15dd 'C1' | |
297 |
|
297 | |||
298 | $ cd ../c |
|
298 | $ cd ../c | |
299 | $ echo L2 > L2 |
|
299 | $ echo L2 > L2 | |
@@ -313,23 +313,23 b' pull --rebase only update if there is no' | |||||
313 | rebasing 7:c1f58876e3bf "L2" |
|
313 | rebasing 7:c1f58876e3bf "L2" | |
314 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/0d0727eb7ce0-ef61ccb2-rebase.hg (glob) |
|
314 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/0d0727eb7ce0-ef61ccb2-rebase.hg (glob) | |
315 | $ hg tglog |
|
315 | $ hg tglog | |
316 | o 8: 'L2' |
|
316 | o 8: 6dc0ea5dcf55 'L2' | |
317 | | |
|
317 | | | |
318 | @ 7: 'L1' |
|
318 | @ 7: 864e0a2d2614 'L1' | |
319 | | |
|
319 | | | |
320 | o 6: 'R5' |
|
320 | o 6: 88dd24261747 'R5' | |
321 | | |
|
321 | | | |
322 | o 5: 'R4' |
|
322 | o 5: 00e3b7781125 'R4' | |
323 | | |
|
323 | | | |
324 | o 4: 'R3' |
|
324 | o 4: 770a61882ace 'R3' | |
325 | | |
|
325 | | | |
326 | o 3: 'R2' |
|
326 | o 3: 31cd3a05214e 'R2' | |
327 | | |
|
327 | | | |
328 | o 2: 'R1' |
|
328 | o 2: 77ae9631bcca 'R1' | |
329 | | |
|
329 | | | |
330 | o 1: 'C2' |
|
330 | o 1: 783333faa078 'C2' | |
331 | | |
|
331 | | | |
332 | o 0: 'C1' |
|
332 | o 0: 05d58a0c15dd 'C1' | |
333 |
|
333 | |||
334 |
|
334 | |||
335 | pull --rebase update (no rebase) use proper update: |
|
335 | pull --rebase update (no rebase) use proper update: | |
@@ -356,25 +356,25 b' pull --rebase update (no rebase) use pro' | |||||
356 | updated to "65bc164c1d9b: R6" |
|
356 | updated to "65bc164c1d9b: R6" | |
357 | 1 other heads for branch "default" |
|
357 | 1 other heads for branch "default" | |
358 | $ hg tglog |
|
358 | $ hg tglog | |
359 | @ 9: 'R6' |
|
359 | @ 9: 65bc164c1d9b 'R6' | |
360 | | |
|
360 | | | |
361 | | o 8: 'L2' |
|
361 | | o 8: 6dc0ea5dcf55 'L2' | |
362 | | | |
|
362 | | | | |
363 | | o 7: 'L1' |
|
363 | | o 7: 864e0a2d2614 'L1' | |
364 | |/ |
|
364 | |/ | |
365 | o 6: 'R5' |
|
365 | o 6: 88dd24261747 'R5' | |
366 | | |
|
366 | | | |
367 | o 5: 'R4' |
|
367 | o 5: 00e3b7781125 'R4' | |
368 | | |
|
368 | | | |
369 | o 4: 'R3' |
|
369 | o 4: 770a61882ace 'R3' | |
370 | | |
|
370 | | | |
371 | o 3: 'R2' |
|
371 | o 3: 31cd3a05214e 'R2' | |
372 | | |
|
372 | | | |
373 | o 2: 'R1' |
|
373 | o 2: 77ae9631bcca 'R1' | |
374 | | |
|
374 | | | |
375 | o 1: 'C2' |
|
375 | o 1: 783333faa078 'C2' | |
376 | | |
|
376 | | | |
377 | o 0: 'C1' |
|
377 | o 0: 05d58a0c15dd 'C1' | |
378 |
|
378 | |||
379 |
|
379 | |||
380 | Multiple pre-existing heads on the branch |
|
380 | Multiple pre-existing heads on the branch | |
@@ -432,29 +432,29 b' The second local head should not confuse' | |||||
432 | rebasing 8:6dc0ea5dcf55 "L2" |
|
432 | rebasing 8:6dc0ea5dcf55 "L2" | |
433 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/864e0a2d2614-2f72c89c-rebase.hg (glob) |
|
433 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/864e0a2d2614-2f72c89c-rebase.hg (glob) | |
434 | $ hg tglog |
|
434 | $ hg tglog | |
435 | @ 12: 'L2' |
|
435 | @ 12: 3603a865eea0 'L2' | |
436 | | |
|
436 | | | |
437 | o 11: 'L1' |
|
437 | o 11: bcc8a9cd04bf 'L1' | |
438 | | |
|
438 | | | |
439 | o 10: 'R7' |
|
439 | o 10: f7d3e42052f9 'R7' | |
440 | | |
|
440 | | | |
441 | | o 9: 'M1' |
|
441 | | o 9: 41fab4eef82f 'M1' | |
442 | |/ |
|
442 | |/ | |
443 | | o 8: 'B1' unrelatedbranch |
|
443 | | o 8: 39c381359968 'B1' unrelatedbranch | |
444 | |/ |
|
444 | |/ | |
445 | o 7: 'R6' |
|
445 | o 7: 65bc164c1d9b 'R6' | |
446 | | |
|
446 | | | |
447 | o 6: 'R5' |
|
447 | o 6: 88dd24261747 'R5' | |
448 | | |
|
448 | | | |
449 | o 5: 'R4' |
|
449 | o 5: 00e3b7781125 'R4' | |
450 | | |
|
450 | | | |
451 | o 4: 'R3' |
|
451 | o 4: 770a61882ace 'R3' | |
452 | | |
|
452 | | | |
453 | o 3: 'R2' |
|
453 | o 3: 31cd3a05214e 'R2' | |
454 | | |
|
454 | | | |
455 | o 2: 'R1' |
|
455 | o 2: 77ae9631bcca 'R1' | |
456 | | |
|
456 | | | |
457 | o 1: 'C2' |
|
457 | o 1: 783333faa078 'C2' | |
458 | | |
|
458 | | | |
459 | o 0: 'C1' |
|
459 | o 0: 05d58a0c15dd 'C1' | |
460 |
|
460 |
@@ -3,7 +3,7 b'' | |||||
3 | > rebase= |
|
3 | > rebase= | |
4 | > |
|
4 | > | |
5 | > [alias] |
|
5 | > [alias] | |
6 |
> tlog = log |
|
6 | > tlog = log --template "{rev}: {node|short} '{desc}' {branches}\n" | |
7 | > tglog = tlog --graph |
|
7 | > tglog = tlog --graph | |
8 | > EOF |
|
8 | > EOF | |
9 |
|
9 | |||
@@ -34,19 +34,19 b'' | |||||
34 | created new head |
|
34 | created new head | |
35 |
|
35 | |||
36 | $ hg tglog |
|
36 | $ hg tglog | |
37 | @ 3: 'rename A' |
|
37 | @ 3: 73a3ee40125d 'rename A' | |
38 | | |
|
38 | | | |
39 | | o 2: 'rename B' |
|
39 | | o 2: 220d0626d185 'rename B' | |
40 | |/ |
|
40 | |/ | |
41 | o 1: 'B' |
|
41 | o 1: 3ab5da9a5c01 'B' | |
42 | | |
|
42 | | | |
43 | o 0: 'A' |
|
43 | o 0: 1994f17a630e 'A' | |
44 |
|
44 | |||
45 |
|
45 | |||
46 | Rename is tracked: |
|
46 | Rename is tracked: | |
47 |
|
47 | |||
48 | $ hg tlog -p --git -r tip |
|
48 | $ hg tlog -p --git -r tip | |
49 | 3: 'rename A' |
|
49 | 3: 73a3ee40125d 'rename A' | |
50 | diff --git a/a b/a-renamed |
|
50 | diff --git a/a b/a-renamed | |
51 | rename from a |
|
51 | rename from a | |
52 | rename to a-renamed |
|
52 | rename to a-renamed | |
@@ -64,19 +64,19 b' Rebase the revision containing the renam' | |||||
64 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg (glob) |
|
64 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg (glob) | |
65 |
|
65 | |||
66 | $ hg tglog |
|
66 | $ hg tglog | |
67 | @ 3: 'rename A' |
|
67 | @ 3: 032a9b75e83b 'rename A' | |
68 | | |
|
68 | | | |
69 | o 2: 'rename B' |
|
69 | o 2: 220d0626d185 'rename B' | |
70 | | |
|
70 | | | |
71 | o 1: 'B' |
|
71 | o 1: 3ab5da9a5c01 'B' | |
72 | | |
|
72 | | | |
73 | o 0: 'A' |
|
73 | o 0: 1994f17a630e 'A' | |
74 |
|
74 | |||
75 |
|
75 | |||
76 | Rename is not lost: |
|
76 | Rename is not lost: | |
77 |
|
77 | |||
78 | $ hg tlog -p --git -r tip |
|
78 | $ hg tlog -p --git -r tip | |
79 | 3: 'rename A' |
|
79 | 3: 032a9b75e83b 'rename A' | |
80 | diff --git a/a b/a-renamed |
|
80 | diff --git a/a b/a-renamed | |
81 | rename from a |
|
81 | rename from a | |
82 | rename to a-renamed |
|
82 | rename to a-renamed | |
@@ -132,18 +132,18 b' Rebased revision does not contain inform' | |||||
132 | created new head |
|
132 | created new head | |
133 |
|
133 | |||
134 | $ hg tglog |
|
134 | $ hg tglog | |
135 | @ 3: 'copy A' |
|
135 | @ 3: 0a8162ff18a8 'copy A' | |
136 | | |
|
136 | | | |
137 | | o 2: 'copy B' |
|
137 | | o 2: 39e588434882 'copy B' | |
138 | |/ |
|
138 | |/ | |
139 | o 1: 'B' |
|
139 | o 1: 6c81ed0049f8 'B' | |
140 | | |
|
140 | | | |
141 | o 0: 'A' |
|
141 | o 0: 1994f17a630e 'A' | |
142 |
|
142 | |||
143 | Copy is tracked: |
|
143 | Copy is tracked: | |
144 |
|
144 | |||
145 | $ hg tlog -p --git -r tip |
|
145 | $ hg tlog -p --git -r tip | |
146 | 3: 'copy A' |
|
146 | 3: 0a8162ff18a8 'copy A' | |
147 | diff --git a/a b/a-copied |
|
147 | diff --git a/a b/a-copied | |
148 | copy from a |
|
148 | copy from a | |
149 | copy to a-copied |
|
149 | copy to a-copied | |
@@ -155,19 +155,19 b' Rebase the revision containing the copy:' | |||||
155 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg (glob) |
|
155 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg (glob) | |
156 |
|
156 | |||
157 | $ hg tglog |
|
157 | $ hg tglog | |
158 | @ 3: 'copy A' |
|
158 | @ 3: 98f6e6dbf45a 'copy A' | |
159 | | |
|
159 | | | |
160 | o 2: 'copy B' |
|
160 | o 2: 39e588434882 'copy B' | |
161 | | |
|
161 | | | |
162 | o 1: 'B' |
|
162 | o 1: 6c81ed0049f8 'B' | |
163 | | |
|
163 | | | |
164 | o 0: 'A' |
|
164 | o 0: 1994f17a630e 'A' | |
165 |
|
165 | |||
166 |
|
166 | |||
167 | Copy is not lost: |
|
167 | Copy is not lost: | |
168 |
|
168 | |||
169 | $ hg tlog -p --git -r tip |
|
169 | $ hg tlog -p --git -r tip | |
170 | 3: 'copy A' |
|
170 | 3: 98f6e6dbf45a 'copy A' | |
171 | diff --git a/a b/a-copied |
|
171 | diff --git a/a b/a-copied | |
172 | copy from a |
|
172 | copy from a | |
173 | copy to a-copied |
|
173 | copy to a-copied | |
@@ -223,15 +223,15 b' Test rebase across repeating renames:' | |||||
223 | created new head |
|
223 | created new head | |
224 |
|
224 | |||
225 | $ hg tglog |
|
225 | $ hg tglog | |
226 | @ 4: 'Another unrelated change' |
|
226 | @ 4: b918d683b091 'Another unrelated change' | |
227 | | |
|
227 | | | |
228 | | o 3: 'Rename file2 back to file1' |
|
228 | | o 3: 1ac17e43d8aa 'Rename file2 back to file1' | |
229 | |/ |
|
229 | |/ | |
230 | o 2: 'Unrelated change' |
|
230 | o 2: 480101d66d8d 'Unrelated change' | |
231 | | |
|
231 | | | |
232 | o 1: 'Rename file1 to file2' |
|
232 | o 1: be44c61debd2 'Rename file1 to file2' | |
233 | | |
|
233 | | | |
234 | o 0: 'Adding file1' |
|
234 | o 0: 8ce9a346991d 'Adding file1' | |
235 |
|
235 | |||
236 |
|
236 | |||
237 | $ hg rebase -s 4 -d 3 |
|
237 | $ hg rebase -s 4 -d 3 | |
@@ -263,13 +263,13 b' Verify that copies get preserved (issue4' | |||||
263 |
|
263 | |||
264 | Note that there are four entries in the log for d |
|
264 | Note that there are four entries in the log for d | |
265 | $ hg tglog --follow d |
|
265 | $ hg tglog --follow d | |
266 | @ 3: 'File d created as copy of c and modified' |
|
266 | @ 3: 421b7e82bb85 'File d created as copy of c and modified' | |
267 | | |
|
267 | | | |
268 | o 2: 'File c created as copy of b and modified' |
|
268 | o 2: 327f772bc074 'File c created as copy of b and modified' | |
269 | | |
|
269 | | | |
270 | o 1: 'File b created as copy of a and modified' |
|
270 | o 1: 79d255d24ad2 'File b created as copy of a and modified' | |
271 | | |
|
271 | | | |
272 | o 0: 'File a created' |
|
272 | o 0: b220cd6d2326 'File a created' | |
273 |
|
273 | |||
274 | Update back to before we performed copies, and inject an unrelated change. |
|
274 | Update back to before we performed copies, and inject an unrelated change. | |
275 | $ hg update 0 |
|
275 | $ hg update 0 | |
@@ -293,13 +293,13 b' Rebase the copies on top of the unrelate' | |||||
293 |
|
293 | |||
294 | There should still be four entries in the log for d |
|
294 | There should still be four entries in the log for d | |
295 | $ hg tglog --follow d |
|
295 | $ hg tglog --follow d | |
296 | @ 4: 'File d created as copy of c and modified' |
|
296 | @ 4: dbb9ba033561 'File d created as copy of c and modified' | |
297 | | |
|
297 | | | |
298 | o 3: 'File c created as copy of b and modified' |
|
298 | o 3: af74b229bc02 'File c created as copy of b and modified' | |
299 | | |
|
299 | | | |
300 | o 2: 'File b created as copy of a and modified' |
|
300 | o 2: 68bf06433839 'File b created as copy of a and modified' | |
301 | : |
|
301 | : | |
302 | o 0: 'File a created' |
|
302 | o 0: b220cd6d2326 'File a created' | |
303 |
|
303 | |||
304 | Same steps as above, but with --collapse on rebase to make sure the |
|
304 | Same steps as above, but with --collapse on rebase to make sure the | |
305 | copy records collapse correctly. |
|
305 | copy records collapse correctly. | |
@@ -322,11 +322,11 b' This should show both revision 3 and 0 s' | |||||
322 | copy of 'a'. |
|
322 | copy of 'a'. | |
323 |
|
323 | |||
324 | $ hg tglog --follow d |
|
324 | $ hg tglog --follow d | |
325 | @ 3: 'Collapsed revision |
|
325 | @ 3: 5a46b94210e5 'Collapsed revision | |
326 | : * File b created as copy of a and modified |
|
326 | : * File b created as copy of a and modified | |
327 | : * File c created as copy of b and modified |
|
327 | : * File c created as copy of b and modified | |
328 | : * File d created as copy of c and modified' |
|
328 | : * File d created as copy of c and modified' | |
329 | o 0: 'File a created' |
|
329 | o 0: b220cd6d2326 'File a created' | |
330 |
|
330 | |||
331 |
|
331 | |||
332 | $ cd .. |
|
332 | $ cd .. |
@@ -7,7 +7,7 b'' | |||||
7 | > publish=False |
|
7 | > publish=False | |
8 | > |
|
8 | > | |
9 | > [alias] |
|
9 | > [alias] | |
10 | > tglog = log -G --template "{rev}: '{desc}' {branches}\n" |
|
10 | > tglog = log -G --template "{rev}: {node|short} '{desc}' {branches}\n" | |
11 | > EOF |
|
11 | > EOF | |
12 |
|
12 | |||
13 |
|
13 | |||
@@ -34,21 +34,21 b' can abort or warn for colliding untracke' | |||||
34 | $ cd a1 |
|
34 | $ cd a1 | |
35 |
|
35 | |||
36 | $ hg tglog |
|
36 | $ hg tglog | |
37 | @ 7: 'H' |
|
37 | @ 7: 02de42196ebe 'H' | |
38 | | |
|
38 | | | |
39 | | o 6: 'G' |
|
39 | | o 6: eea13746799a 'G' | |
40 | |/| |
|
40 | |/| | |
41 | o | 5: 'F' |
|
41 | o | 5: 24b6387c8c8c 'F' | |
42 | | | |
|
42 | | | | |
43 | | o 4: 'E' |
|
43 | | o 4: 9520eea781bc 'E' | |
44 | |/ |
|
44 | |/ | |
45 | | o 3: 'D' |
|
45 | | o 3: 32af7686d403 'D' | |
46 | | | |
|
46 | | | | |
47 | | o 2: 'C' |
|
47 | | o 2: 5fddd98957c8 'C' | |
48 | | | |
|
48 | | | | |
49 | | o 1: 'B' |
|
49 | | o 1: 42ccdea3bb16 'B' | |
50 | |/ |
|
50 | |/ | |
51 | o 0: 'A' |
|
51 | o 0: cd010b8cd998 'A' | |
52 |
|
52 | |||
53 |
|
53 | |||
54 | $ hg status --rev "3^1" --rev 3 |
|
54 | $ hg status --rev "3^1" --rev 3 | |
@@ -72,21 +72,21 b' can abort or warn for colliding untracke' | |||||
72 | $ rm D.orig |
|
72 | $ rm D.orig | |
73 |
|
73 | |||
74 | $ hg tglog |
|
74 | $ hg tglog | |
75 | o 7: 'D' |
|
75 | o 7: 1619f02ff7dd 'D' | |
76 | | |
|
76 | | | |
77 | @ 6: 'H' |
|
77 | @ 6: 02de42196ebe 'H' | |
78 | | |
|
78 | | | |
79 | | o 5: 'G' |
|
79 | | o 5: eea13746799a 'G' | |
80 | |/| |
|
80 | |/| | |
81 | o | 4: 'F' |
|
81 | o | 4: 24b6387c8c8c 'F' | |
82 | | | |
|
82 | | | | |
83 | | o 3: 'E' |
|
83 | | o 3: 9520eea781bc 'E' | |
84 | |/ |
|
84 | |/ | |
85 | | o 2: 'C' |
|
85 | | o 2: 5fddd98957c8 'C' | |
86 | | | |
|
86 | | | | |
87 | | o 1: 'B' |
|
87 | | o 1: 42ccdea3bb16 'B' | |
88 | |/ |
|
88 | |/ | |
89 | o 0: 'A' |
|
89 | o 0: cd010b8cd998 'A' | |
90 |
|
90 | |||
91 | $ cd .. |
|
91 | $ cd .. | |
92 |
|
92 | |||
@@ -107,21 +107,21 b' that we can ignore for colliding untrack' | |||||
107 | $ rm D.orig |
|
107 | $ rm D.orig | |
108 |
|
108 | |||
109 | $ hg tglog |
|
109 | $ hg tglog | |
110 | o 7: 'D' |
|
110 | o 7: 2107530e74ab 'D' | |
111 | | |
|
111 | | | |
112 | | @ 6: 'H' |
|
112 | | @ 6: 02de42196ebe 'H' | |
113 | |/ |
|
113 | |/ | |
114 | | o 5: 'G' |
|
114 | | o 5: eea13746799a 'G' | |
115 | |/| |
|
115 | |/| | |
116 | o | 4: 'F' |
|
116 | o | 4: 24b6387c8c8c 'F' | |
117 | | | |
|
117 | | | | |
118 | | o 3: 'E' |
|
118 | | o 3: 9520eea781bc 'E' | |
119 | |/ |
|
119 | |/ | |
120 | | o 2: 'C' |
|
120 | | o 2: 5fddd98957c8 'C' | |
121 | | | |
|
121 | | | | |
122 | | o 1: 'B' |
|
122 | | o 1: 42ccdea3bb16 'B' | |
123 | |/ |
|
123 | |/ | |
124 | o 0: 'A' |
|
124 | o 0: cd010b8cd998 'A' | |
125 |
|
125 | |||
126 | $ cd .. |
|
126 | $ cd .. | |
127 |
|
127 | |||
@@ -144,19 +144,19 b' if they have the same contents)' | |||||
144 | E.orig: file not found |
|
144 | E.orig: file not found | |
145 |
|
145 | |||
146 | $ hg tglog |
|
146 | $ hg tglog | |
147 | o 6: 'E' |
|
147 | o 6: 9f8b8ec77260 'E' | |
148 | | |
|
148 | | | |
149 | @ 5: 'H' |
|
149 | @ 5: 02de42196ebe 'H' | |
150 | | |
|
150 | | | |
151 | o 4: 'F' |
|
151 | o 4: 24b6387c8c8c 'F' | |
152 | | |
|
152 | | | |
153 | | o 3: 'D' |
|
153 | | o 3: 32af7686d403 'D' | |
154 | | | |
|
154 | | | | |
155 | | o 2: 'C' |
|
155 | | o 2: 5fddd98957c8 'C' | |
156 | | | |
|
156 | | | | |
157 | | o 1: 'B' |
|
157 | | o 1: 42ccdea3bb16 'B' | |
158 | |/ |
|
158 | |/ | |
159 | o 0: 'A' |
|
159 | o 0: cd010b8cd998 'A' | |
160 |
|
160 | |||
161 | $ cd .. |
|
161 | $ cd .. | |
162 |
|
162 | |||
@@ -174,19 +174,19 b' F onto E - rebase of a branching point (' | |||||
174 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg (glob) |
|
174 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg (glob) | |
175 |
|
175 | |||
176 | $ hg tglog |
|
176 | $ hg tglog | |
177 | @ 6: 'H' |
|
177 | @ 6: e9240aeaa6ad 'H' | |
178 | | |
|
178 | | | |
179 | o 5: 'F' |
|
179 | o 5: 5d0ccadb6e3e 'F' | |
180 | | |
|
180 | | | |
181 | o 4: 'E' |
|
181 | o 4: 9520eea781bc 'E' | |
182 | | |
|
182 | | | |
183 | | o 3: 'D' |
|
183 | | o 3: 32af7686d403 'D' | |
184 | | | |
|
184 | | | | |
185 | | o 2: 'C' |
|
185 | | o 2: 5fddd98957c8 'C' | |
186 | | | |
|
186 | | | | |
187 | | o 1: 'B' |
|
187 | | o 1: 42ccdea3bb16 'B' | |
188 | |/ |
|
188 | |/ | |
189 | o 0: 'A' |
|
189 | o 0: cd010b8cd998 'A' | |
190 |
|
190 | |||
191 | $ cd .. |
|
191 | $ cd .. | |
192 |
|
192 | |||
@@ -201,21 +201,21 b' G onto H - merged revision having a pare' | |||||
201 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/eea13746799a-883828ed-rebase.hg (glob) |
|
201 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/eea13746799a-883828ed-rebase.hg (glob) | |
202 |
|
202 | |||
203 | $ hg tglog |
|
203 | $ hg tglog | |
204 | o 7: 'G' |
|
204 | o 7: 397834907a90 'G' | |
205 | |\ |
|
205 | |\ | |
206 | | @ 6: 'H' |
|
206 | | @ 6: 02de42196ebe 'H' | |
207 | | | |
|
207 | | | | |
208 | | o 5: 'F' |
|
208 | | o 5: 24b6387c8c8c 'F' | |
209 | | | |
|
209 | | | | |
210 | o | 4: 'E' |
|
210 | o | 4: 9520eea781bc 'E' | |
211 | |/ |
|
211 | |/ | |
212 | | o 3: 'D' |
|
212 | | o 3: 32af7686d403 'D' | |
213 | | | |
|
213 | | | | |
214 | | o 2: 'C' |
|
214 | | o 2: 5fddd98957c8 'C' | |
215 | | | |
|
215 | | | | |
216 | | o 1: 'B' |
|
216 | | o 1: 42ccdea3bb16 'B' | |
217 | |/ |
|
217 | |/ | |
218 | o 0: 'A' |
|
218 | o 0: cd010b8cd998 'A' | |
219 |
|
219 | |||
220 | $ cd .. |
|
220 | $ cd .. | |
221 |
|
221 | |||
@@ -232,21 +232,21 b' F onto B - G maintains E as parent:' | |||||
232 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg (glob) |
|
232 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg (glob) | |
233 |
|
233 | |||
234 | $ hg tglog |
|
234 | $ hg tglog | |
235 | @ 7: 'H' |
|
235 | @ 7: c87be72f9641 'H' | |
236 | | |
|
236 | | | |
237 | | o 6: 'G' |
|
237 | | o 6: 17badd73d4f1 'G' | |
238 | |/| |
|
238 | |/| | |
239 | o | 5: 'F' |
|
239 | o | 5: 74fb9ed646c4 'F' | |
240 | | | |
|
240 | | | | |
241 | | o 4: 'E' |
|
241 | | o 4: 9520eea781bc 'E' | |
242 | | | |
|
242 | | | | |
243 | | | o 3: 'D' |
|
243 | | | o 3: 32af7686d403 'D' | |
244 | | | | |
|
244 | | | | | |
245 | +---o 2: 'C' |
|
245 | +---o 2: 5fddd98957c8 'C' | |
246 | | | |
|
246 | | | | |
247 | o | 1: 'B' |
|
247 | o | 1: 42ccdea3bb16 'B' | |
248 | |/ |
|
248 | |/ | |
249 | o 0: 'A' |
|
249 | o 0: cd010b8cd998 'A' | |
250 |
|
250 | |||
251 | $ cd .. |
|
251 | $ cd .. | |
252 |
|
252 | |||
@@ -304,21 +304,21 b' C onto A - rebase onto an ancestor:' | |||||
304 | rebasing 3:32af7686d403 "D" |
|
304 | rebasing 3:32af7686d403 "D" | |
305 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) |
|
305 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg (glob) | |
306 | $ hg tglog |
|
306 | $ hg tglog | |
307 | o 7: 'D' |
|
307 | o 7: c9659aac0000 'D' | |
308 | | |
|
308 | | | |
309 | o 6: 'C' |
|
309 | o 6: e1c4361dd923 'C' | |
310 | | |
|
310 | | | |
311 | | @ 5: 'H' |
|
311 | | @ 5: 02de42196ebe 'H' | |
312 | | | |
|
312 | | | | |
313 | | | o 4: 'G' |
|
313 | | | o 4: eea13746799a 'G' | |
314 | | |/| |
|
314 | | |/| | |
315 | | o | 3: 'F' |
|
315 | | o | 3: 24b6387c8c8c 'F' | |
316 | |/ / |
|
316 | |/ / | |
317 | | o 2: 'E' |
|
317 | | o 2: 9520eea781bc 'E' | |
318 | |/ |
|
318 | |/ | |
319 | | o 1: 'B' |
|
319 | | o 1: 42ccdea3bb16 'B' | |
320 | |/ |
|
320 | |/ | |
321 | o 0: 'A' |
|
321 | o 0: cd010b8cd998 'A' | |
322 |
|
322 | |||
323 |
|
323 | |||
324 | Check rebasing public changeset |
|
324 | Check rebasing public changeset | |
@@ -424,23 +424,23 b' All destination are B' | |||||
424 | new changesets 9ae2ed22e576:479ddb54a924 |
|
424 | new changesets 9ae2ed22e576:479ddb54a924 | |
425 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
425 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
426 | $ hg tglog |
|
426 | $ hg tglog | |
427 | o 8: 'I' |
|
427 | o 8: 479ddb54a924 'I' | |
428 | | |
|
428 | | | |
429 | o 7: 'H' |
|
429 | o 7: 72434a4e60b0 'H' | |
430 | | |
|
430 | | | |
431 | o 6: 'G' |
|
431 | o 6: 3d8a618087a7 'G' | |
432 | | |
|
432 | | | |
433 | | o 5: 'F' |
|
433 | | o 5: 41bfcc75ed73 'F' | |
434 | | | |
|
434 | | | | |
435 | | o 4: 'E' |
|
435 | | o 4: c01897464e7f 'E' | |
436 | |/ |
|
436 | |/ | |
437 | o 3: 'D' |
|
437 | o 3: ffd453c31098 'D' | |
438 | | |
|
438 | | | |
439 | o 2: 'C' |
|
439 | o 2: c9e50f6cdc55 'C' | |
440 | | |
|
440 | | | |
441 | | o 1: 'B' |
|
441 | | o 1: 8fd0f7e49f53 'B' | |
442 | |/ |
|
442 | |/ | |
443 | o 0: 'A' |
|
443 | o 0: 9ae2ed22e576 'A' | |
444 |
|
444 | |||
445 | $ cd .. |
|
445 | $ cd .. | |
446 |
|
446 | |||
@@ -462,33 +462,33 b' Source on have two descendant heads but ' | |||||
462 | rebasing 7:72434a4e60b0 "H" |
|
462 | rebasing 7:72434a4e60b0 "H" | |
463 | rebasing 8:479ddb54a924 "I" (tip) |
|
463 | rebasing 8:479ddb54a924 "I" (tip) | |
464 | $ hg tglog |
|
464 | $ hg tglog | |
465 | o 13: 'I' |
|
465 | o 13: 9bf1d9358a90 'I' | |
466 | | |
|
466 | | | |
467 | o 12: 'H' |
|
467 | o 12: 274623a778d4 'H' | |
468 | | |
|
468 | | | |
469 | o 11: 'G' |
|
469 | o 11: ab8c8617c8e8 'G' | |
470 | | |
|
470 | | | |
471 | o 10: 'D' |
|
471 | o 10: c8cbf59f70da 'D' | |
472 | | |
|
472 | | | |
473 | o 9: 'C' |
|
473 | o 9: 563e4faab485 'C' | |
474 | | |
|
474 | | | |
475 | | o 8: 'I' |
|
475 | | o 8: 479ddb54a924 'I' | |
476 | | | |
|
476 | | | | |
477 | | o 7: 'H' |
|
477 | | o 7: 72434a4e60b0 'H' | |
478 | | | |
|
478 | | | | |
479 | | o 6: 'G' |
|
479 | | o 6: 3d8a618087a7 'G' | |
480 | | | |
|
480 | | | | |
481 | | | o 5: 'F' |
|
481 | | | o 5: 41bfcc75ed73 'F' | |
482 | | | | |
|
482 | | | | | |
483 | | | o 4: 'E' |
|
483 | | | o 4: c01897464e7f 'E' | |
484 | | |/ |
|
484 | | |/ | |
485 | | o 3: 'D' |
|
485 | | o 3: ffd453c31098 'D' | |
486 | | | |
|
486 | | | | |
487 | | o 2: 'C' |
|
487 | | o 2: c9e50f6cdc55 'C' | |
488 | | | |
|
488 | | | | |
489 | o | 1: 'B' |
|
489 | o | 1: 8fd0f7e49f53 'B' | |
490 | |/ |
|
490 | |/ | |
491 | o 0: 'A' |
|
491 | o 0: 9ae2ed22e576 'A' | |
492 |
|
492 | |||
493 |
|
493 | |||
494 | $ cd .. |
|
494 | $ cd .. | |
@@ -507,31 +507,31 b' Base on have one descendant heads we ask' | |||||
507 | rebasing 7:72434a4e60b0 "H" |
|
507 | rebasing 7:72434a4e60b0 "H" | |
508 | rebasing 8:479ddb54a924 "I" (tip) |
|
508 | rebasing 8:479ddb54a924 "I" (tip) | |
509 | $ hg tglog |
|
509 | $ hg tglog | |
510 | o 12: 'I' |
|
510 | o 12: 9d7da0053b1c 'I' | |
511 | | |
|
511 | | | |
512 | o 11: 'H' |
|
512 | o 11: 8fbd00952cbc 'H' | |
513 | | |
|
513 | | | |
514 | o 10: 'G' |
|
514 | o 10: 51d434a615ee 'G' | |
515 | | |
|
515 | | | |
516 | o 9: 'D' |
|
516 | o 9: a9c125634b0b 'D' | |
517 | | |
|
517 | | | |
518 | | o 8: 'I' |
|
518 | | o 8: 479ddb54a924 'I' | |
519 | | | |
|
519 | | | | |
520 | | o 7: 'H' |
|
520 | | o 7: 72434a4e60b0 'H' | |
521 | | | |
|
521 | | | | |
522 | | o 6: 'G' |
|
522 | | o 6: 3d8a618087a7 'G' | |
523 | | | |
|
523 | | | | |
524 | | | o 5: 'F' |
|
524 | | | o 5: 41bfcc75ed73 'F' | |
525 | | | | |
|
525 | | | | | |
526 | | | o 4: 'E' |
|
526 | | | o 4: c01897464e7f 'E' | |
527 | | |/ |
|
527 | | |/ | |
528 | | o 3: 'D' |
|
528 | | o 3: ffd453c31098 'D' | |
529 | | | |
|
529 | | | | |
530 | | o 2: 'C' |
|
530 | | o 2: c9e50f6cdc55 'C' | |
531 | | | |
|
531 | | | | |
532 | o | 1: 'B' |
|
532 | o | 1: 8fd0f7e49f53 'B' | |
533 | |/ |
|
533 | |/ | |
534 | o 0: 'A' |
|
534 | o 0: 9ae2ed22e576 'A' | |
535 |
|
535 | |||
536 |
|
536 | |||
537 | $ cd .. |
|
537 | $ cd .. | |
@@ -549,29 +549,29 b' rebase subset' | |||||
549 | rebasing 6:3d8a618087a7 "G" |
|
549 | rebasing 6:3d8a618087a7 "G" | |
550 | rebasing 7:72434a4e60b0 "H" |
|
550 | rebasing 7:72434a4e60b0 "H" | |
551 | $ hg tglog |
|
551 | $ hg tglog | |
552 | o 11: 'H' |
|
552 | o 11: 8fbd00952cbc 'H' | |
553 | | |
|
553 | | | |
554 | o 10: 'G' |
|
554 | o 10: 51d434a615ee 'G' | |
555 | | |
|
555 | | | |
556 | o 9: 'D' |
|
556 | o 9: a9c125634b0b 'D' | |
557 | | |
|
557 | | | |
558 | | o 8: 'I' |
|
558 | | o 8: 479ddb54a924 'I' | |
559 | | | |
|
559 | | | | |
560 | | o 7: 'H' |
|
560 | | o 7: 72434a4e60b0 'H' | |
561 | | | |
|
561 | | | | |
562 | | o 6: 'G' |
|
562 | | o 6: 3d8a618087a7 'G' | |
563 | | | |
|
563 | | | | |
564 | | | o 5: 'F' |
|
564 | | | o 5: 41bfcc75ed73 'F' | |
565 | | | | |
|
565 | | | | | |
566 | | | o 4: 'E' |
|
566 | | | o 4: c01897464e7f 'E' | |
567 | | |/ |
|
567 | | |/ | |
568 | | o 3: 'D' |
|
568 | | o 3: ffd453c31098 'D' | |
569 | | | |
|
569 | | | | |
570 | | o 2: 'C' |
|
570 | | o 2: c9e50f6cdc55 'C' | |
571 | | | |
|
571 | | | | |
572 | o | 1: 'B' |
|
572 | o | 1: 8fd0f7e49f53 'B' | |
573 | |/ |
|
573 | |/ | |
574 | o 0: 'A' |
|
574 | o 0: 9ae2ed22e576 'A' | |
575 |
|
575 | |||
576 |
|
576 | |||
577 | $ cd .. |
|
577 | $ cd .. | |
@@ -591,33 +591,33 b' rebase subset with multiple head' | |||||
591 | rebasing 6:3d8a618087a7 "G" |
|
591 | rebasing 6:3d8a618087a7 "G" | |
592 | rebasing 7:72434a4e60b0 "H" |
|
592 | rebasing 7:72434a4e60b0 "H" | |
593 | $ hg tglog |
|
593 | $ hg tglog | |
594 | o 13: 'H' |
|
594 | o 13: 8fbd00952cbc 'H' | |
595 | | |
|
595 | | | |
596 | o 12: 'G' |
|
596 | o 12: 51d434a615ee 'G' | |
597 | | |
|
597 | | | |
598 | | o 11: 'F' |
|
598 | | o 11: df23d8bda0b7 'F' | |
599 | | | |
|
599 | | | | |
600 | | o 10: 'E' |
|
600 | | o 10: 47b7889448ff 'E' | |
601 | |/ |
|
601 | |/ | |
602 | o 9: 'D' |
|
602 | o 9: a9c125634b0b 'D' | |
603 | | |
|
603 | | | |
604 | | o 8: 'I' |
|
604 | | o 8: 479ddb54a924 'I' | |
605 | | | |
|
605 | | | | |
606 | | o 7: 'H' |
|
606 | | o 7: 72434a4e60b0 'H' | |
607 | | | |
|
607 | | | | |
608 | | o 6: 'G' |
|
608 | | o 6: 3d8a618087a7 'G' | |
609 | | | |
|
609 | | | | |
610 | | | o 5: 'F' |
|
610 | | | o 5: 41bfcc75ed73 'F' | |
611 | | | | |
|
611 | | | | | |
612 | | | o 4: 'E' |
|
612 | | | o 4: c01897464e7f 'E' | |
613 | | |/ |
|
613 | | |/ | |
614 | | o 3: 'D' |
|
614 | | o 3: ffd453c31098 'D' | |
615 | | | |
|
615 | | | | |
616 | | o 2: 'C' |
|
616 | | o 2: c9e50f6cdc55 'C' | |
617 | | | |
|
617 | | | | |
618 | o | 1: 'B' |
|
618 | o | 1: 8fd0f7e49f53 'B' | |
619 | |/ |
|
619 | |/ | |
620 | o 0: 'A' |
|
620 | o 0: 9ae2ed22e576 'A' | |
621 |
|
621 | |||
622 |
|
622 | |||
623 | $ cd .. |
|
623 | $ cd .. | |
@@ -634,23 +634,23 b' rebase on ancestor with revset' | |||||
634 | rebasing 8:479ddb54a924 "I" (tip) |
|
634 | rebasing 8:479ddb54a924 "I" (tip) | |
635 | saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg (glob) |
|
635 | saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg (glob) | |
636 | $ hg tglog |
|
636 | $ hg tglog | |
637 | o 8: 'I' |
|
637 | o 8: fcb52e68a694 'I' | |
638 | | |
|
638 | | | |
639 | o 7: 'H' |
|
639 | o 7: 77bd65cd7600 'H' | |
640 | | |
|
640 | | | |
641 | o 6: 'G' |
|
641 | o 6: 12d0e738fb18 'G' | |
642 | | |
|
642 | | | |
643 | | o 5: 'F' |
|
643 | | o 5: 41bfcc75ed73 'F' | |
644 | | | |
|
644 | | | | |
645 | | o 4: 'E' |
|
645 | | o 4: c01897464e7f 'E' | |
646 | | | |
|
646 | | | | |
647 | | o 3: 'D' |
|
647 | | o 3: ffd453c31098 'D' | |
648 | |/ |
|
648 | |/ | |
649 | o 2: 'C' |
|
649 | o 2: c9e50f6cdc55 'C' | |
650 | | |
|
650 | | | |
651 | | o 1: 'B' |
|
651 | | o 1: 8fd0f7e49f53 'B' | |
652 | |/ |
|
652 | |/ | |
653 | o 0: 'A' |
|
653 | o 0: 9ae2ed22e576 'A' | |
654 |
|
654 | |||
655 | $ cd .. |
|
655 | $ cd .. | |
656 |
|
656 | |||
@@ -669,23 +669,23 b' We would expect heads are I, F if it was' | |||||
669 | rebasing 8:479ddb54a924 "I" (tip) |
|
669 | rebasing 8:479ddb54a924 "I" (tip) | |
670 | saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg (glob) |
|
670 | saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg (glob) | |
671 | $ hg tglog |
|
671 | $ hg tglog | |
672 | o 8: 'I' |
|
672 | o 8: 9136df9a87cf 'I' | |
673 | | |
|
673 | | | |
674 | o 7: 'H' |
|
674 | o 7: 23e8f30da832 'H' | |
675 | | |
|
675 | | | |
676 | o 6: 'G' |
|
676 | o 6: b0efe8534e8b 'G' | |
677 | | |
|
677 | | | |
678 | | o 5: 'F' |
|
678 | | o 5: 6eb5b496ab79 'F' | |
679 | | | |
|
679 | | | | |
680 | | o 4: 'E' |
|
680 | | o 4: d15eade9b0b1 'E' | |
681 | |/ |
|
681 | |/ | |
682 | | o 3: 'D' |
|
682 | | o 3: ffd453c31098 'D' | |
683 | | | |
|
683 | | | | |
684 | | o 2: 'C' |
|
684 | | o 2: c9e50f6cdc55 'C' | |
685 | | | |
|
685 | | | | |
686 | o | 1: 'B' |
|
686 | o | 1: 8fd0f7e49f53 'B' | |
687 | |/ |
|
687 | |/ | |
688 | o 0: 'A' |
|
688 | o 0: 9ae2ed22e576 'A' | |
689 |
|
689 | |||
690 | $ cd .. |
|
690 | $ cd .. | |
691 |
|
691 | |||
@@ -709,27 +709,27 b' each root have a different common ancest' | |||||
709 | $ hg add K |
|
709 | $ hg add K | |
710 | $ hg commit -m K |
|
710 | $ hg commit -m K | |
711 | $ hg tglog |
|
711 | $ hg tglog | |
712 | @ 10: 'K' |
|
712 | @ 10: 23a4ace37988 'K' | |
713 | | |
|
713 | | | |
714 | o 9: 'J' |
|
714 | o 9: 1301922eeb0c 'J' | |
715 | | |
|
715 | | | |
716 | | o 8: 'I' |
|
716 | | o 8: e7ec4e813ba6 'I' | |
717 | | | |
|
717 | | | | |
718 | | o 7: 'H' |
|
718 | | o 7: 02de42196ebe 'H' | |
719 | | | |
|
719 | | | | |
720 | +---o 6: 'G' |
|
720 | +---o 6: eea13746799a 'G' | |
721 | | |/ |
|
721 | | |/ | |
722 | | o 5: 'F' |
|
722 | | o 5: 24b6387c8c8c 'F' | |
723 | | | |
|
723 | | | | |
724 | o | 4: 'E' |
|
724 | o | 4: 9520eea781bc 'E' | |
725 | |/ |
|
725 | |/ | |
726 | | o 3: 'D' |
|
726 | | o 3: 32af7686d403 'D' | |
727 | | | |
|
727 | | | | |
728 | | o 2: 'C' |
|
728 | | o 2: 5fddd98957c8 'C' | |
729 | | | |
|
729 | | | | |
730 | | o 1: 'B' |
|
730 | | o 1: 42ccdea3bb16 'B' | |
731 | |/ |
|
731 | |/ | |
732 | o 0: 'A' |
|
732 | o 0: cd010b8cd998 'A' | |
733 |
|
733 | |||
734 | (actual test) |
|
734 | (actual test) | |
735 |
|
735 | |||
@@ -752,27 +752,27 b' each root have a different common ancest' | |||||
752 | summary: K |
|
752 | summary: K | |
753 |
|
753 | |||
754 | $ hg tglog |
|
754 | $ hg tglog | |
755 | @ 10: 'K' |
|
755 | @ 10: 882431a34a0e 'K' | |
756 | | |
|
756 | | | |
757 | | o 9: 'I' |
|
757 | | o 9: adb617877056 'I' | |
758 | |/ |
|
758 | |/ | |
759 | | o 8: 'J' |
|
759 | | o 8: 1301922eeb0c 'J' | |
760 | | | |
|
760 | | | | |
761 | | | o 7: 'H' |
|
761 | | | o 7: 02de42196ebe 'H' | |
762 | | | | |
|
762 | | | | | |
763 | o---+ 6: 'G' |
|
763 | o---+ 6: eea13746799a 'G' | |
764 | |/ / |
|
764 | |/ / | |
765 | | o 5: 'F' |
|
765 | | o 5: 24b6387c8c8c 'F' | |
766 | | | |
|
766 | | | | |
767 | o | 4: 'E' |
|
767 | o | 4: 9520eea781bc 'E' | |
768 | |/ |
|
768 | |/ | |
769 | | o 3: 'D' |
|
769 | | o 3: 32af7686d403 'D' | |
770 | | | |
|
770 | | | | |
771 | | o 2: 'C' |
|
771 | | o 2: 5fddd98957c8 'C' | |
772 | | | |
|
772 | | | | |
773 | | o 1: 'B' |
|
773 | | o 1: 42ccdea3bb16 'B' | |
774 | |/ |
|
774 | |/ | |
775 | o 0: 'A' |
|
775 | o 0: cd010b8cd998 'A' | |
776 |
|
776 | |||
777 |
|
777 | |||
778 | Test that rebase is not confused by $CWD disappearing during rebase (issue4121) |
|
778 | Test that rebase is not confused by $CWD disappearing during rebase (issue4121) | |
@@ -833,19 +833,19 b' Test that rebase is done in topo order (' | |||||
833 | created new head |
|
833 | created new head | |
834 |
|
834 | |||
835 | $ hg tglog |
|
835 | $ hg tglog | |
836 | @ 6: 'G' |
|
836 | @ 6: 124bb27b6f28 'G' | |
837 | | |
|
837 | | | |
838 | | o 5: 'F' |
|
838 | | o 5: 412b391de760 'F' | |
839 | | | |
|
839 | | | | |
840 | | | o 4: 'E' |
|
840 | | | o 4: 82ae8dc7a9b7 'E' | |
841 | | | | |
|
841 | | | | | |
842 | | o | 3: 'D' |
|
842 | | o | 3: ab709c9f7171 'D' | |
843 | | | | |
|
843 | | | | | |
844 | | | o 2: 'C' |
|
844 | | | o 2: d84f5cfaaf14 'C' | |
845 | | |/ |
|
845 | | |/ | |
846 | | o 1: 'B' |
|
846 | | o 1: 76035bbd54bd 'B' | |
847 | |/ |
|
847 | |/ | |
848 | o 0: 'A' |
|
848 | o 0: 216878401574 'A' | |
849 |
|
849 | |||
850 |
|
850 | |||
851 | $ hg rebase -s 1 -d 6 |
|
851 | $ hg rebase -s 1 -d 6 | |
@@ -857,19 +857,19 b' Test that rebase is done in topo order (' | |||||
857 | saved backup bundle to $TESTTMP/order/.hg/strip-backup/76035bbd54bd-e341bc99-rebase.hg (glob) |
|
857 | saved backup bundle to $TESTTMP/order/.hg/strip-backup/76035bbd54bd-e341bc99-rebase.hg (glob) | |
858 |
|
858 | |||
859 | $ hg tglog |
|
859 | $ hg tglog | |
860 | o 6: 'F' |
|
860 | o 6: 31884cfb735e 'F' | |
861 | | |
|
861 | | | |
862 | o 5: 'D' |
|
862 | o 5: 6d89fa5b0909 'D' | |
863 | | |
|
863 | | | |
864 | | o 4: 'E' |
|
864 | | o 4: de64d97c697b 'E' | |
865 | | | |
|
865 | | | | |
866 | | o 3: 'C' |
|
866 | | o 3: b18e4d2d0aa1 'C' | |
867 | |/ |
|
867 | |/ | |
868 | o 2: 'B' |
|
868 | o 2: 0983daf9ff6a 'B' | |
869 | | |
|
869 | | | |
870 | @ 1: 'G' |
|
870 | @ 1: 124bb27b6f28 'G' | |
871 | | |
|
871 | | | |
872 | o 0: 'A' |
|
872 | o 0: 216878401574 'A' | |
873 |
|
873 | |||
874 |
|
874 | |||
875 | Test experimental revset |
|
875 | Test experimental revset |
General Comments 0
You need to be logged in to leave comments.
Login now