##// 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 echo "# should show copy"
8 echo "# should show copy"
9 cp foo bar
9 cp foo bar
10 hg copy foo bar
10 hg copy foo bar
11 hg debugstate
11 hg debugstate|grep ^copy
12
12
13 echo "# shouldn't show copy"
13 echo "# shouldn't show copy"
14 hg commit -m2 -d"0 0"
14 hg commit -m2 -d"0 0"
15 hg debugstate
15 hg debugstate|grep ^copy
16
16
17 echo "# should match"
17 echo "# should match"
18 hg debugindex .hg/data/foo.i
18 hg debugindex .hg/data/foo.i
@@ -28,7 +28,7 b' hg debugrename bar'
28 cp foo bar
28 cp foo bar
29 hg copy foo bar
29 hg copy foo bar
30 echo "# should show copy"
30 echo "# should show copy"
31 hg debugstate
31 hg debugstate|grep ^copy
32 hg commit -m3 -d"0 0"
32 hg commit -m3 -d"0 0"
33
33
34 echo "# should show no parents for tip"
34 echo "# should show no parents for tip"
@@ -38,4 +38,6 b' hg debugindex .hg/data/foo.i'
38 hg debugrename bar
38 hg debugrename bar
39
39
40 echo "# should show no copies"
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 # should show copy
1 # should show copy
2 a 644 4 08/28/05 05:00:19 bar
2 copy: foo -> bar
3 n 644 4 08/28/05 05:00:19 foo
4
5 foo -> bar
6 # shouldn't show copy
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 # should match
4 # should match
11 rev offset length base linkrev nodeid p1 p2
5 rev offset length base linkrev nodeid p1 p2
12 0 0 5 0 0 2ed2a3912a0b 000000000000 000000000000
6 0 0 5 0 0 2ed2a3912a0b 000000000000 000000000000
@@ -14,10 +8,7 b' renamed from foo:2ed2a3912a0b24502043eae'
14 # should not be renamed
8 # should not be renamed
15 not renamed
9 not renamed
16 # should show copy
10 # should show copy
17 n 644 5 08/28/05 05:00:19 bar
11 copy: foo -> bar
18 n 644 6 08/28/05 05:00:19 foo
19
20 foo -> bar
21 # should show no parents for tip
12 # should show no parents for tip
22 rev offset length base linkrev nodeid p1 p2
13 rev offset length base linkrev nodeid p1 p2
23 0 0 69 0 1 6ca237634e1f 000000000000 000000000000
14 0 0 69 0 1 6ca237634e1f 000000000000 000000000000
@@ -29,6 +20,3 b' foo -> bar'
29 1 5 7 1 2 dd12c926cf16 2ed2a3912a0b 000000000000
20 1 5 7 1 2 dd12c926cf16 2ed2a3912a0b 000000000000
30 renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17
21 renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17
31 # should show no copies
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