Show More
@@ -361,7 +361,7 b' Resolve conflicted graft' | |||
|
361 | 361 | $ echo b > a |
|
362 | 362 | $ hg ci -m 8 |
|
363 | 363 | created new head |
|
364 |
$ echo |
|
|
364 | $ echo c > a | |
|
365 | 365 | $ hg ci -m 9 |
|
366 | 366 | $ hg graft 1 --tool internal:fail |
|
367 | 367 | grafting revision 1 |
@@ -370,6 +370,17 b' Resolve conflicted graft' | |||
|
370 | 370 | [255] |
|
371 | 371 | $ hg resolve --all |
|
372 | 372 | merging a |
|
373 | warning: conflicts during merge. | |
|
374 | merging a incomplete! (edit conflicts, then use 'hg resolve --mark') | |
|
375 | [1] | |
|
376 | $ cat a | |
|
377 | <<<<<<< local: aaa4406d4f0a - test: 9 | |
|
378 | c | |
|
379 | ======= | |
|
380 | b | |
|
381 | >>>>>>> other: 5d205f8b35b6 - bar: 1 | |
|
382 | $ echo b > a | |
|
383 | $ hg resolve -m a | |
|
373 | 384 | (no more unresolved files) |
|
374 | 385 | $ hg graft -c |
|
375 | 386 | grafting revision 1 |
@@ -378,15 +389,15 b' Resolve conflicted graft' | |||
|
378 | 389 | # User bar |
|
379 | 390 | # Date 0 0 |
|
380 | 391 | # Thu Jan 01 00:00:00 1970 +0000 |
|
381 | # Node ID 64ecd9071ce83c6e62f538d8ce7709d53f32ebf7 | |
|
382 | # Parent 4bdb9a9d0b84ffee1d30f0dfc7744cade17aa19c | |
|
392 | # Node ID f67661df0c4804d301f064f332b57e7d5ddaf2be | |
|
393 | # Parent aaa4406d4f0ae9befd6e58c82ec63706460cbca6 | |
|
383 | 394 | 1 |
|
384 | 395 | |
|
385 | 396 | diff --git a/a b/a |
|
386 | 397 | --- a/a |
|
387 | 398 | +++ b/a |
|
388 | 399 | @@ -1,1 +1,1 @@ |
|
389 |
- |
|
|
400 | -c | |
|
390 | 401 | +b |
|
391 | 402 | |
|
392 | 403 | Resolve conflicted graft with rename |
@@ -407,8 +418,8 b' Resolve conflicted graft with rename' | |||
|
407 | 418 | # User test |
|
408 | 419 | # Date 0 0 |
|
409 | 420 | # Thu Jan 01 00:00:00 1970 +0000 |
|
410 | # Node ID 2e80e1351d6ed50302fe1e05f8bd1d4d412b6e11 | |
|
411 | # Parent e5a51ae854a8bbaaf25cc5c6a57ff46042dadbb4 | |
|
421 | # Node ID 9627f653b421c61fc1ea4c4e366745070fa3d2bc | |
|
422 | # Parent ee295f490a40b97f3d18dd4c4f1c8936c233b612 | |
|
412 | 423 | 2 |
|
413 | 424 | |
|
414 | 425 | diff --git a/a b/b |
@@ -537,12 +548,12 b' Test simple destination' | |||
|
537 | 548 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
538 | 549 | summary: 3 |
|
539 | 550 | |
|
540 |
changeset: 17: |
|
|
551 | changeset: 17:f67661df0c48 | |
|
541 | 552 | user: bar |
|
542 | 553 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
543 | 554 | summary: 1 |
|
544 | 555 | |
|
545 |
changeset: 19: |
|
|
556 | changeset: 19:9627f653b421 | |
|
546 | 557 | user: test |
|
547 | 558 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
548 | 559 | summary: 2 |
@@ -566,7 +577,7 b' Test simple destination' | |||
|
566 | 577 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
567 | 578 | summary: 2 |
|
568 | 579 | |
|
569 |
changeset: 19: |
|
|
580 | changeset: 19:9627f653b421 | |
|
570 | 581 | user: test |
|
571 | 582 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
572 | 583 | summary: 2 |
@@ -608,7 +619,7 b' All copies of a cset' | |||
|
608 | 619 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
609 | 620 | summary: 2 |
|
610 | 621 | |
|
611 |
changeset: 19:2 |
|
|
622 | changeset: 19:9627f653b421 | |
|
612 | 623 | user: test |
|
613 | 624 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
614 | 625 | summary: 2 |
@@ -669,9 +680,8 b' graft --force after backout' | |||
|
669 | 680 | |
|
670 | 681 | graft --continue after --force |
|
671 | 682 | |
|
672 | $ hg backout 30 | |
|
673 | reverting a | |
|
674 | changeset 31:3b96c18b7a1b backs out changeset 30:8f539994be33 | |
|
683 | $ echo def > a | |
|
684 | $ hg ci -m 31 | |
|
675 | 685 | $ hg graft 28 --force --tool internal:fail |
|
676 | 686 | grafting revision 28 |
|
677 | 687 | abort: unresolved conflicts, can't continue |
@@ -679,6 +689,11 b' graft --continue after --force' | |||
|
679 | 689 | [255] |
|
680 | 690 | $ hg resolve --all |
|
681 | 691 | merging a |
|
692 | warning: conflicts during merge. | |
|
693 | merging a incomplete! (edit conflicts, then use 'hg resolve --mark') | |
|
694 | [1] | |
|
695 | $ echo abc > a | |
|
696 | $ hg resolve -m a | |
|
682 | 697 | (no more unresolved files) |
|
683 | 698 | $ hg graft -c |
|
684 | 699 | grafting revision 28 |
General Comments 0
You need to be logged in to leave comments.
Login now