diff tests/test-convert-baz @ 7567:0946294d1f32

convert/gnuarch: fix switched copy source and destination Reported by Edouard Gomez <ed.gomez@free.fr>
author Patrick Mezard <pmezard@gmail.com>
date Mon, 05 Jan 2009 14:34:20 +0100
parents 12d1e1e79faf
children faa318261ee8
line wrap: on
line diff
--- a/tests/test-convert-baz	Sun Jan 04 21:32:40 2009 +0100
+++ b/tests/test-convert-baz	Mon Jan 05 14:34:20 2009 +0100
@@ -55,6 +55,14 @@
 baz mv src test
 baz commit -s "move and rename a-link-2 file and src directory"
 
+echo % move and add the moved file again
+echo e > e
+baz add e
+baz commit -s "add e"
+baz mv e f
+echo ee > e
+baz add e
+baz commit -s "move e and recreate it again"
 cd ..
 
 echo % converting baz repo to Mercurial
@@ -71,3 +79,4 @@
 glog -R baz-repo-hg
 hg up -q -R baz-repo-hg
 hg -R baz-repo-hg manifest --debug
+hg -R baz-repo-hg log -r 5 -r 7 -C --debug | grep copies