##// END OF EJS Templates
tests: demonstrate that rename is followed to wrong parent from merge...
Martin von Zweigbergk -
r42399:618b9ffe default
parent child Browse files
Show More
@@ -783,6 +783,21 b' Amend a merge changeset (with renames du'
783 783
784 784 $ hg debugrename aaa
785 785 aaa renamed from aa:37d9b5d994eab34eda9c16b195ace52c7b129980
786
787 Update to p1 with 'aaa' modified. 'aaa' was renamed from 'aa' in p2. 'aa' exists
788 in p1 too, but it was recorded as copied from p2.
789 $ echo modified >> aaa
790 BROKEN: should not be follow the rename back to 'aa' here, since the rename
791 happened compared to p2
792 $ hg co -m '.^' -t :merge3
793 merging aaa and aa to aa
794 warning: conflicts while merging aa! (edit, then use 'hg resolve --mark')
795 0 files updated, 0 files merged, 1 files removed, 1 files unresolved
796 use 'hg resolve' to retry unresolved file merges
797 [1]
798 $ hg co -C tip
799 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
800
786 801 $ hg mv aaa aa
787 802 $ hg ci --amend -m 'merge bar again (undo rename)'
788 803 $ hg log --config diff.git=1 -pr .
General Comments 0
You need to be logged in to leave comments. Login now