Make test-merge7 repeatable
authorMatt Mackall <mpm@selenic.com>
Tue, 27 Sep 2005 14:53:11 -0700
changeset 1352 bf6c91cb816f
parent 1351 0e2be889ccd7
child 1353 a0c68981a5f4
Make test-merge7 repeatable
tests/test-merge7
tests/test-merge7.out
--- a/tests/test-merge7	Mon Sep 26 16:52:47 2005 -0700
+++ b/tests/test-merge7	Tue Sep 27 14:53:11 2005 -0700
@@ -34,7 +34,7 @@
 hg commit -m "2 -> 2.5" -d "0 0"
 
 # now pull and merge from test-a
-hg pull
+hg pull ../test-a
 HGMERGE=merge hg update -m
 # resolve conflict
 cat >test.txt <<"EOF"
@@ -52,14 +52,14 @@
 two-point-one
 three
 EOF
-hg commit -m "two -> two-point-one"
+hg commit -m "two -> two-point-one" -d "0 0"
 
 # pull and merge from test-a again
 cd ../test-b
-hg pull
+hg pull ../test-a
 HGMERGE=merge hg update --debug -m
 
-cat test.txt
+cat test.txt | sed "s% .*%%"
 
 hg debugindex .hg/data/test.txt.i
 
--- a/tests/test-merge7.out	Mon Sep 26 16:52:47 2005 -0700
+++ b/tests/test-merge7.out	Tue Sep 27 14:53:11 2005 -0700
@@ -1,4 +1,4 @@
-pulling from /tmp/hgtests.12359.29374.16319.16463/test-merge7/test-a
+pulling from ../test-a
 searching for changes
 adding changesets
 adding manifests
@@ -8,7 +8,7 @@
 merge: warning: conflicts during merge
 merging test.txt
 merging test.txt failed!
-pulling from /tmp/hgtests.12359.29374.16319.16463/test-merge7/test-a
+pulling from ../test-a
 searching for changes
 adding changesets
 adding manifests
@@ -25,11 +25,11 @@
 file test.txt: my fc3148072371 other d40249267ae3 ancestor 8fe46a3eb557
 merging test.txt failed!
 one
-<<<<<<< /tmp/hgtests.12359.29374.16319.16463/test-merge7/test-b/test.txt
+<<<<<<<
 two-point-five
 =======
 two-point-one
->>>>>>> /tmp/test.txt~other.bN33Pl
+>>>>>>>
 three
    rev    offset  length   base linkrev nodeid       p1           p2
      0         0       7      0       0 01365c4cca56 000000000000 000000000000
@@ -37,11 +37,11 @@
      2        16      15      2       2 8fe46a3eb557 01365c4cca56 000000000000
      3        31      27      2       3 fc3148072371 7b013192566a 8fe46a3eb557
      4        58      25      4       4 d40249267ae3 8fe46a3eb557 000000000000
-changeset:   4:50aec39675ea
+changeset:   4:40d11a4173a8
 tag:         tip
 parent:      2:96b70246a118
 user:        test
-date:        Mon Sep 26 23:50:15 2005 +0000
+date:        Thu Jan  1 00:00:00 1970 +0000
 summary:     two -> two-point-one
 
 changeset:   3:50c3a7e29886