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