Show More
@@ -1,12 +1,40 b'' | |||||
1 | #!/bin/sh |
|
1 | Create a repository: | |
|
2 | ||||
|
3 | $ mkdir t | |||
|
4 | $ cd t | |||
|
5 | $ hg init | |||
|
6 | ||||
|
7 | Make a changeset: | |||
|
8 | ||||
|
9 | $ echo a > a | |||
|
10 | $ hg add a | |||
|
11 | $ hg commit -m test -d "1000000 0" | |||
|
12 | ||||
|
13 | This command is ancient: | |||
2 |
|
14 | |||
3 | mkdir t |
|
15 | $ hg history | |
4 | cd t |
|
16 | changeset: 0:0acdaf898367 | |
5 | hg init |
|
17 | tag: tip | |
6 | echo a > a |
|
18 | user: test | |
7 | hg add a |
|
19 | date: Mon Jan 12 13:46:40 1970 +0000 | |
8 | hg commit -m test -d "1000000 0" |
|
20 | summary: test | |
9 | hg history |
|
21 | ||
10 | hg manifest --debug |
|
22 | ||
11 | hg cat a |
|
23 | Poke around at hashes: | |
12 | hg verify |
|
24 | ||
|
25 | $ hg manifest --debug | |||
|
26 | b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a | |||
|
27 | ||||
|
28 | $ hg cat a | |||
|
29 | a | |||
|
30 | ||||
|
31 | Verify should succeed: | |||
|
32 | ||||
|
33 | $ hg verify | |||
|
34 | checking changesets | |||
|
35 | checking manifests | |||
|
36 | crosschecking files in changesets and manifests | |||
|
37 | checking files | |||
|
38 | 1 files, 1 changesets, 1 total revisions | |||
|
39 | ||||
|
40 | At the end... |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now