##// END OF EJS Templates
Fixed test-copy2 with only looking at copied files.
Thomas Arendsen Hein -
r1127:19b048da default
parent child Browse files
Show More
@@ -8,11 +8,11 b' hg commit -m1 -d"0 0"'
8 8 echo "# should show copy"
9 9 cp foo bar
10 10 hg copy foo bar
11 hg debugstate
11 hg debugstate|grep ^copy
12 12
13 13 echo "# shouldn't show copy"
14 14 hg commit -m2 -d"0 0"
15 hg debugstate
15 hg debugstate|grep ^copy
16 16
17 17 echo "# should match"
18 18 hg debugindex .hg/data/foo.i
@@ -28,7 +28,7 b' hg debugrename bar'
28 28 cp foo bar
29 29 hg copy foo bar
30 30 echo "# should show copy"
31 hg debugstate
31 hg debugstate|grep ^copy
32 32 hg commit -m3 -d"0 0"
33 33
34 34 echo "# should show no parents for tip"
@@ -38,4 +38,6 b' hg debugindex .hg/data/foo.i'
38 38 hg debugrename bar
39 39
40 40 echo "# should show no copies"
41 hg debugstate No newline at end of file
41 hg debugstate|grep ^copy
42
43 exit 0
@@ -1,12 +1,6 b''
1 1 # should show copy
2 a 644 4 08/28/05 05:00:19 bar
3 n 644 4 08/28/05 05:00:19 foo
4
5 foo -> bar
2 copy: foo -> bar
6 3 # shouldn't show copy
7 n 644 4 08/28/05 05:00:19 bar
8 n 644 4 08/28/05 05:00:19 foo
9
10 4 # should match
11 5 rev offset length base linkrev nodeid p1 p2
12 6 0 0 5 0 0 2ed2a3912a0b 000000000000 000000000000
@@ -14,10 +8,7 b' renamed from foo:2ed2a3912a0b24502043eae'
14 8 # should not be renamed
15 9 not renamed
16 10 # should show copy
17 n 644 5 08/28/05 05:00:19 bar
18 n 644 6 08/28/05 05:00:19 foo
19
20 foo -> bar
11 copy: foo -> bar
21 12 # should show no parents for tip
22 13 rev offset length base linkrev nodeid p1 p2
23 14 0 0 69 0 1 6ca237634e1f 000000000000 000000000000
@@ -29,6 +20,3 b' foo -> bar'
29 20 1 5 7 1 2 dd12c926cf16 2ed2a3912a0b 000000000000
30 21 renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17
31 22 # should show no copies
32 n 644 6 08/28/05 05:00:19 bar
33 n 644 6 08/28/05 05:00:19 foo
34
General Comments 0
You need to be logged in to leave comments. Login now