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