diff tests/test-mv-cp-st-diff @ 6282:709652cd7bff

test-mv-cp-st-diff: avoid linkrev collisions The copy detection code relies heavily on the linkrevs, so it's better to avoid collisions in this test.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 15 Mar 2008 22:03:18 -0300
parents 81e7112b07ae
children 90a4329a6b4a
line wrap: on
line diff
--- a/tests/test-mv-cp-st-diff	Sun Mar 16 00:35:14 2008 +0100
+++ b/tests/test-mv-cp-st-diff	Sat Mar 15 22:03:18 2008 -0300
@@ -28,6 +28,7 @@
     echo
 }
 
+count=0
 # make a new branch and get diff/status output
 # $1 - first commit
 # $2 - second commit
@@ -37,6 +38,9 @@
 {
     hg co -q -C 0
 
+    add a $count
+    count=`expr $count + 1`
+    hg ci -m "t0"
     $1
     hg ci -m "t1"
     $2