diff tests/test-convert-hg-source @ 5811:180a3eee4b75

Fix copies reporting in log and convert. If copy logged in file revision, we report copy for changeset only if file revisions linkrev points back to the changeset in question or both changeset parents contain different file revisions. This fixes extra copies reported when executable bit was changed for previously copied file.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 29 Dec 2007 17:11:48 +0300
parents 61fdf2558c0a
children 8e7130a10f3b
line wrap: on
line diff
--- a/tests/test-convert-hg-source	Sat Dec 29 16:57:43 2007 +0300
+++ b/tests/test-convert-hg-source	Sat Dec 29 17:11:48 2007 +0300
@@ -29,6 +29,9 @@
 hg merge 2
 hg ci -m 'merge remote copy' -d '4 0'
 
+chmod +x baz
+hg ci -m 'mark baz executable' -d '5 0'
+
 cd ..
 hg convert --datesort orig new 2>&1 | grep -v 'subversion python bindings could not be loaded'
 cd new