tests/test-mv-cp-st-diff
changeset 8518 3f4f14eab085
parent 6425 2d9328a2f81f
child 10179 83cfa1baf8ad
--- a/tests/test-mv-cp-st-diff	Sun May 17 16:25:48 2009 +0200
+++ b/tests/test-mv-cp-st-diff	Tue May 19 03:59:58 2009 +0200
@@ -23,6 +23,7 @@
 add x/y y1
 hg add x/y
 hg ci -m2
+cd ..
 
 show()
 {
@@ -41,6 +42,7 @@
 # $4 - test description
 tb()
 {
+    hg clone t t2 ; cd t2
     hg co -q -C 0
 
     add a $count
@@ -62,6 +64,8 @@
     show "--rev 2 --rev ." "branch to parent"
     show "--rev . --rev 2" "parent to branch"
     echo
+    cd ..
+    rm -rf t2
 }