Show More
@@ -9,8 +9,20 b' cp a b' | |||||
9 | hg copy a b |
|
9 | hg copy a b | |
10 | hg status |
|
10 | hg status | |
11 | hg --debug commit -m "2" -d "0 0" |
|
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 | hg log a |
|
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 | md5sum .hg/data/b.d |
|
26 | md5sum .hg/data/b.d | |
15 | hg cat b > bsum |
|
27 | hg cat b > bsum | |
16 | md5sum bsum |
|
28 | md5sum bsum |
@@ -1,22 +1,48 b'' | |||||
1 | A b |
|
1 | A b | |
2 | b |
|
2 | b | |
3 | b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 |
|
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 | changeset: 1:3b5b84850bbe |
|
34 | changeset: 1:3b5b84850bbe | |
5 | tag: tip |
|
35 | tag: tip | |
6 | user: test |
|
36 | user: test | |
7 | date: Thu Jan 1 00:00:00 1970 +0000 |
|
37 | date: Thu Jan 1 00:00:00 1970 +0000 | |
8 | summary: 2 |
|
38 | summary: 2 | |
9 |
|
39 | |||
10 | changeset: 0:c19d34741b0a |
|
40 | this should show a revision linked to changeset 1 | |
11 | user: test |
|
41 | rev offset length base linkrev nodeid p1 p2 | |
12 | date: Thu Jan 1 00:00:00 1970 +0000 |
|
42 | 0 0 65 0 1 9a263dd772e0 000000000000 000000000000 | |
13 | summary: 1 |
|
43 | this should show the rename information in the metadata | |
14 |
|
44 | copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | ||
15 | changeset: 0:c19d34741b0a |
|
45 | copy: a | |
16 | user: test |
|
|||
17 | date: Thu Jan 1 00:00:00 1970 +0000 |
|
|||
18 | summary: 1 |
|
|||
19 |
|
||||
20 | 566e338d09a089ba737c21e0d3759980 .hg/data/b.d |
|
46 | 566e338d09a089ba737c21e0d3759980 .hg/data/b.d | |
21 | 60b725f10c9c85c70d97880dfe8191b3 bsum |
|
47 | 60b725f10c9c85c70d97880dfe8191b3 bsum | |
22 | 60b725f10c9c85c70d97880dfe8191b3 asum |
|
48 | 60b725f10c9c85c70d97880dfe8191b3 asum |
@@ -12,7 +12,7 b' searching for changes' | |||||
12 | adding changesets |
|
12 | adding changesets | |
13 | adding manifests |
|
13 | adding manifests | |
14 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
16 | (run 'hg update' to get a working copy) | |
17 | merging for foo |
|
17 | merging for foo | |
18 | resolving manifests |
|
18 | resolving manifests |
@@ -10,7 +10,7 b' searching for changes' | |||||
10 | adding changesets |
|
10 | adding changesets | |
11 | adding manifests |
|
11 | adding manifests | |
12 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
14 | (run 'hg update' to get a working copy) | |
15 | changeset: 2:3ef543305655 |
|
15 | changeset: 2:3ef543305655 | |
16 | tag: tip |
|
16 | tag: tip |
@@ -3,7 +3,7 b' searching for changes' | |||||
3 | adding changesets |
|
3 | adding changesets | |
4 | adding manifests |
|
4 | adding manifests | |
5 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
7 | (run 'hg update' to get a working copy) | |
8 | bar should remain deleted. |
|
8 | bar should remain deleted. | |
9 | f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo |
|
9 | f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo | |
@@ -12,7 +12,7 b' searching for changes' | |||||
12 | adding changesets |
|
12 | adding changesets | |
13 | adding manifests |
|
13 | adding manifests | |
14 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
16 | (run 'hg update' to get a working copy) | |
17 | bar should remain deleted. |
|
17 | bar should remain deleted. | |
18 | f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo |
|
18 | f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo |
@@ -7,7 +7,7 b' searching for changes' | |||||
7 | adding changesets |
|
7 | adding changesets | |
8 | adding manifests |
|
8 | adding manifests | |
9 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
11 | (run 'hg update' to get a working copy) | |
12 | pushing to ../a |
|
12 | pushing to ../a | |
13 | searching for changes |
|
13 | searching for changes |
@@ -4,7 +4,7 b' warning: pulling from an unrelated repos' | |||||
4 | adding changesets |
|
4 | adding changesets | |
5 | adding manifests |
|
5 | adding manifests | |
6 | adding file changes |
|
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 | (run 'hg update' to get a working copy) |
|
8 | (run 'hg update' to get a working copy) | |
9 | changeset: 1:9a79c33a9db3 |
|
9 | changeset: 1:9a79c33a9db3 | |
10 | tag: tip |
|
10 | tag: tip |
General Comments 0
You need to be logged in to leave comments.
Login now