##// END OF EJS Templates
Update tests
mpm@selenic.com -
r1043:9344f5dd default
parent child Browse files
Show More
@@ -9,8 +9,20 b' cp a b'
9 9 hg copy a b
10 10 hg status
11 11 hg --debug commit -m "2" -d "0 0"
12 hg history
12 echo "we should see two history entries"
13 hg history -v
14 echo "we should see one log entry for a"
13 15 hg log a
16 echo "this should show a revision linked to changeset 0"
17 hg debugindex .hg/data/a.i
18 echo "we should see one log entry for b"
19 hg log b
20 echo "this should show a revision linked to changeset 1"
21 hg debugindex .hg/data/b.i
22
23 echo "this should show the rename information in the metadata"
24 hg debugdata .hg/data/b.d 0 | head -n 3 | tail -n 2
25
14 26 md5sum .hg/data/b.d
15 27 hg cat b > bsum
16 28 md5sum bsum
@@ -1,22 +1,48 b''
1 1 A b
2 2 b
3 3 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
4 we should see two history entries
5 changeset: 1:3b5b84850bbed12e8ff8c1b87b32dc93c59ae6d8
6 tag: tip
7 user: test
8 date: Thu Jan 1 00:00:00 1970 +0000
9 files: b
10 description:
11 2
12
13
14 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e
15 user: test
16 date: Thu Jan 1 00:00:00 1970 +0000
17 files: a
18 description:
19 1
20
21
22 we should see one log entry for a
23 filelog
24 changeset: 0:c19d34741b0a
25 user: test
26 date: Thu Jan 1 00:00:00 1970 +0000
27 summary: 1
28
29 this should show a revision linked to changeset 0
30 rev offset length base linkrev nodeid p1 p2
31 0 0 3 0 0 b789fdd96dc2 000000000000 000000000000
32 we should see one log entry for b
33 filelog
4 34 changeset: 1:3b5b84850bbe
5 35 tag: tip
6 36 user: test
7 37 date: Thu Jan 1 00:00:00 1970 +0000
8 38 summary: 2
9 39
10 changeset: 0:c19d34741b0a
11 user: test
12 date: Thu Jan 1 00:00:00 1970 +0000
13 summary: 1
14
15 changeset: 0:c19d34741b0a
16 user: test
17 date: Thu Jan 1 00:00:00 1970 +0000
18 summary: 1
19
40 this should show a revision linked to changeset 1
41 rev offset length base linkrev nodeid p1 p2
42 0 0 65 0 1 9a263dd772e0 000000000000 000000000000
43 this should show the rename information in the metadata
44 copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
45 copy: a
20 46 566e338d09a089ba737c21e0d3759980 .hg/data/b.d
21 47 60b725f10c9c85c70d97880dfe8191b3 bsum
22 48 60b725f10c9c85c70d97880dfe8191b3 asum
@@ -12,7 +12,7 b' searching for changes'
12 12 adding changesets
13 13 adding manifests
14 14 adding file changes
15 added 1 changesets with 2 changes to 2 files
15 added 1 changesets with 2 changes to 2 files (+1 heads)
16 16 (run 'hg update' to get a working copy)
17 17 merging for foo
18 18 resolving manifests
@@ -10,7 +10,7 b' searching for changes'
10 10 adding changesets
11 11 adding manifests
12 12 adding file changes
13 added 1 changesets with 1 changes to 1 files
13 added 1 changesets with 1 changes to 1 files (+1 heads)
14 14 (run 'hg update' to get a working copy)
15 15 changeset: 2:3ef543305655
16 16 tag: tip
@@ -3,7 +3,7 b' searching for changes'
3 3 adding changesets
4 4 adding manifests
5 5 adding file changes
6 added 1 changesets with 1 changes to 1 files
6 added 1 changesets with 1 changes to 1 files (+1 heads)
7 7 (run 'hg update' to get a working copy)
8 8 bar should remain deleted.
9 9 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo
@@ -12,7 +12,7 b' searching for changes'
12 12 adding changesets
13 13 adding manifests
14 14 adding file changes
15 added 1 changesets with 0 changes to 0 files
15 added 1 changesets with 0 changes to 0 files (+1 heads)
16 16 (run 'hg update' to get a working copy)
17 17 bar should remain deleted.
18 18 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo
@@ -7,7 +7,7 b' searching for changes'
7 7 adding changesets
8 8 adding manifests
9 9 adding file changes
10 added 1 changesets with 1 changes to 1 files
10 added 1 changesets with 1 changes to 1 files (+1 heads)
11 11 (run 'hg update' to get a working copy)
12 12 pushing to ../a
13 13 searching for changes
@@ -4,7 +4,7 b' warning: pulling from an unrelated repos'
4 4 adding changesets
5 5 adding manifests
6 6 adding file changes
7 added 1 changesets with 1 changes to 1 files
7 added 1 changesets with 1 changes to 1 files (+1 heads)
8 8 (run 'hg update' to get a working copy)
9 9 changeset: 1:9a79c33a9db3
10 10 tag: tip
General Comments 0
You need to be logged in to leave comments. Login now