##// END OF EJS Templates
Fix pipe timing for copy test...
mpm@selenic.com -
r462:512d7655 default
parent child Browse files
Show More
@@ -1,18 +1,20 b''
1 #!/bin/bash
1 #!/bin/bash
2
2
3 set -x
3 set -x
4 hg init
4 hg init
5 echo a > a
5 echo a > a
6 hg add a
6 hg add a
7 hg commit -t "1" -u test -d "0 0"
7 hg commit -t "1" -u test -d "0 0"
8 hg status
8 hg status
9 cp a b
9 cp a b
10 hg copy a b
10 hg copy a b
11 hg status
11 hg status
12 hg -d commit -t "2" -u test -d "0 0"
12 hg -d commit -t "2" -u test -d "0 0"
13 hg history
13 hg history
14 hg log a
14 hg log a
15 hexdump -C .hg/data/b.d
15 hexdump -C .hg/data/b.d
16 hg cat b | md5sum
16 hg cat b > bsum
17 hg cat a | md5sum
17 md5sum bsum
18 hg cat a > asum
19 md5sum asum
18 hg verify
20 hg verify
@@ -1,52 +1,52 b''
1 + hg init
1 + hg init
2 + echo a
2 + echo a
3 + hg add a
3 + hg add a
4 + hg commit -t 1 -u test -d '0 0'
4 + hg commit -t 1 -u test -d '0 0'
5 + hg status
5 + hg status
6 ? .out
6 ? .out
7 + cp a b
7 + cp a b
8 + hg copy a b
8 + hg copy a b
9 + hg status
9 + hg status
10 A b
10 A b
11 ? .out
11 ? .out
12 + hg -d commit -t 2 -u test -d '0 0'
12 + hg -d commit -t 2 -u test -d '0 0'
13 b
13 b
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
15 + hg history
15 + hg history
16 changeset: 1:3b5b84850bbed12e8ff8c1b87b32dc93c59ae6d8
16 changeset: 1:3b5b84850bbed12e8ff8c1b87b32dc93c59ae6d8
17 tag: tip
17 tag: tip
18 user: test
18 user: test
19 date: Thu Jan 1 00:00:00 1970
19 date: Thu Jan 1 00:00:00 1970
20 summary: 2
20 summary: 2
21
21
22 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
22 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
23 user: test
23 user: test
24 date: Thu Jan 1 00:00:00 1970
24 date: Thu Jan 1 00:00:00 1970
25 summary: 1
25 summary: 1
26
26
27 + hg log a
27 + hg log a
28 revision: 0:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
28 revision: 0:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
29 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
29 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
30 user: test
30 user: test
31 date: Thu Jan 1 00:00:00 1970
31 date: Thu Jan 1 00:00:00 1970
32 summary: 1
32 summary: 1
33
33
34 + hexdump -C .hg/data/b.d
34 + hexdump -C .hg/data/b.d
35 00000000 75 01 0a 63 6f 70 79 72 65 76 3a 20 62 37 38 39 |u..copyrev: b789|
35 00000000 75 01 0a 63 6f 70 79 72 65 76 3a 20 62 37 38 39 |u..copyrev: b789|
36 00000010 66 64 64 39 36 64 63 32 66 33 62 64 32 32 39 63 |fdd96dc2f3bd229c|
36 00000010 66 64 64 39 36 64 63 32 66 33 62 64 32 32 39 63 |fdd96dc2f3bd229c|
37 00000020 31 64 64 38 65 65 64 66 30 66 63 36 30 65 32 62 |1dd8eedf0fc60e2b|
37 00000020 31 64 64 38 65 65 64 66 30 66 63 36 30 65 32 62 |1dd8eedf0fc60e2b|
38 00000030 36 38 65 33 0a 63 6f 70 79 3a 20 61 0a 01 0a 61 |68e3.copy: a...a|
38 00000030 36 38 65 33 0a 63 6f 70 79 3a 20 61 0a 01 0a 61 |68e3.copy: a...a|
39 00000040 0a |.|
39 00000040 0a |.|
40 00000041
40 00000041
41 + hg cat b
41 + hg cat b
42 + md5sum
42 + md5sum bsum
43 60b725f10c9c85c70d97880dfe8191b3 -
43 60b725f10c9c85c70d97880dfe8191b3 bsum
44 + hg cat a
44 + hg cat a
45 + md5sum
45 + md5sum asum
46 60b725f10c9c85c70d97880dfe8191b3 -
46 60b725f10c9c85c70d97880dfe8191b3 asum
47 + hg verify
47 + hg verify
48 checking changesets
48 checking changesets
49 checking manifests
49 checking manifests
50 crosschecking files in changesets and manifests
50 crosschecking files in changesets and manifests
51 checking files
51 checking files
52 2 files, 2 changesets, 2 total revisions
52 2 files, 2 changesets, 2 total revisions
General Comments 0
You need to be logged in to leave comments. Login now