Show More
@@ -42,7 +42,9 b' use git diff to see rename' | |||
|
42 | 42 | |
|
43 | 43 | Add some linear rename initialy |
|
44 | 44 | |
|
45 |
$ |
|
|
45 | $ echo a > a | |
|
46 | $ echo b > b | |
|
47 | $ echo h > h | |
|
46 | 48 | $ hg ci -Am 'i-0 initial commit: a b h' |
|
47 | 49 | adding a |
|
48 | 50 | adding b |
@@ -382,10 +384,10 b' The bugs makes recorded copy is differen' | |||
|
382 | 384 | $ hg manifest --debug --rev 'desc("d-2")' | grep '644 d' |
|
383 | 385 | b004912a8510032a0350a74daa2803dadfb00e12 644 d |
|
384 | 386 | $ hg manifest --debug --rev 'desc("b-1")' | grep '644 d' |
|
385 | 01c2f5eabdc4ce2bdee42b5f86311955e6c8f573 644 d | |
|
387 | 169be882533bc917905d46c0c951aa9a1e288dcf 644 d | |
|
386 | 388 | $ hg debugindex d |
|
387 | 389 | rev linkrev nodeid p1 p2 |
|
388 |
0 2 |
|
|
390 | 0 2 169be882533b 000000000000 000000000000 | |
|
389 | 391 | 1 8 b004912a8510 000000000000 000000000000 |
|
390 | 392 | |
|
391 | 393 | Log output should not include a merge commit as it did not happen |
@@ -418,13 +420,15 b' Comparing with a merge with colliding re' | |||
|
418 | 420 | |
|
419 | 421 | $ hg up 'desc("a-2")' |
|
420 | 422 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
421 | $ hg merge 'desc("e-2")' | |
|
423 | $ hg merge 'desc("e-2")' --tool :union | |
|
424 | merging f | |
|
422 | 425 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
423 | 426 | (branch merge, don't forget to commit) |
|
424 | 427 | $ hg ci -m 'mAEm-0 simple merge - one way' |
|
425 | 428 | $ hg up 'desc("e-2")' |
|
426 | 429 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
427 | $ hg merge 'desc("a-2")' | |
|
430 | $ hg merge 'desc("a-2")' --tool :union | |
|
431 | merging f | |
|
428 | 432 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
429 | 433 | (branch merge, don't forget to commit) |
|
430 | 434 | $ hg ci -m 'mEAm-0 simple merge - the other way' |
@@ -449,18 +453,19 b' Comparing with a merge with colliding re' | |||
|
449 | 453 | o 0 i-0 initial commit: a b h |
|
450 | 454 | |
|
451 | 455 | $ hg manifest --debug --rev 'desc("mAEm-0")' | grep '644 f' |
|
452 | eb806e34ef6be4c264effd5933d31004ad15a793 644 f | |
|
456 | c39c6083dad048d5138618a46f123e2f397f4f18 644 f | |
|
453 | 457 | $ hg manifest --debug --rev 'desc("mEAm-0")' | grep '644 f' |
|
454 | eb806e34ef6be4c264effd5933d31004ad15a793 644 f | |
|
458 | a9a8bc3860c9d8fa5f2f7e6ea8d40498322737fd 644 f | |
|
455 | 459 | $ hg manifest --debug --rev 'desc("a-2")' | grep '644 f' |
|
456 | 0dd616bc7ab1a111921d95d76f69cda5c2ac539c 644 f | |
|
460 | 263ea25e220aaeb7b9bac551c702037849aa75e8 644 f | |
|
457 | 461 | $ hg manifest --debug --rev 'desc("e-2")' | grep '644 f' |
|
458 | 6da5a2eecb9c833f830b67a4972366d49a9a142c 644 f | |
|
462 | 71b9b7e73d973572ade6dd765477fcee6890e8b1 644 f | |
|
459 | 463 | $ hg debugindex f |
|
460 | 464 | rev linkrev nodeid p1 p2 |
|
461 |
0 4 |
|
|
462 |
1 10 |
|
|
463 | 2 19 eb806e34ef6b 0dd616bc7ab1 6da5a2eecb9c | |
|
465 | 0 4 263ea25e220a 000000000000 000000000000 | |
|
466 | 1 10 71b9b7e73d97 000000000000 000000000000 | |
|
467 | 2 19 c39c6083dad0 263ea25e220a 71b9b7e73d97 | |
|
468 | 3 20 a9a8bc3860c9 71b9b7e73d97 263ea25e220a | |
|
464 | 469 | |
|
465 | 470 | # Here the filelog based implementation is not looking at the rename |
|
466 | 471 | # information (because the file exist on both side). However the changelog |
@@ -544,9 +549,9 b' Merge:' | |||
|
544 | 549 | $ hg commit -m "f-2: rename i -> d" |
|
545 | 550 | $ hg debugindex d |
|
546 | 551 | rev linkrev nodeid p1 p2 |
|
547 |
0 2 |
|
|
552 | 0 2 169be882533b 000000000000 000000000000 | |
|
548 | 553 | 1 8 b004912a8510 000000000000 000000000000 |
|
549 |
2 22 |
|
|
554 | 2 22 4a067cf8965d 000000000000 000000000000 | |
|
550 | 555 | $ hg up 'desc("b-1")' |
|
551 | 556 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
552 | 557 | $ hg merge 'desc("f-2")' |
@@ -743,7 +748,7 b' Note:' | |||
|
743 | 748 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
744 | 749 | $ hg merge 'desc("g-1")' --tool :union |
|
745 | 750 | merging d |
|
746 |
|
|
|
751 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
747 | 752 | (branch merge, don't forget to commit) |
|
748 | 753 | $ hg ci -m 'mFGm-0 simple merge - one way' |
|
749 | 754 | created new head |
@@ -751,7 +756,7 b' Note:' | |||
|
751 | 756 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
752 | 757 | $ hg merge 'desc("f-2")' --tool :union |
|
753 | 758 | merging d |
|
754 |
|
|
|
759 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
755 | 760 | (branch merge, don't forget to commit) |
|
756 | 761 | $ hg ci -m 'mGFm-0 simple merge - the other way' |
|
757 | 762 | created new head |
@@ -774,13 +779,13 b' Note:' | |||
|
774 | 779 | |
|
775 | 780 | $ hg status --copies --rev 'desc("i-0")' --rev 'desc("mFGm-0")' |
|
776 | 781 | A d |
|
777 | h (no-filelog !) | |
|
778 | a (filelog !) | |
|
782 | h | |
|
779 | 783 | R a |
|
780 | 784 | R h |
|
781 | 785 | $ hg status --copies --rev 'desc("i-0")' --rev 'desc("mGFm-0")' |
|
782 | 786 | A d |
|
783 | a | |
|
787 | a (no-filelog !) | |
|
788 | h (filelog !) | |
|
784 | 789 | R a |
|
785 | 790 | R h |
|
786 | 791 | $ hg status --copies --rev 'desc("f-2")' --rev 'desc("mFGm-0")' |
General Comments 0
You need to be logged in to leave comments.
Login now