Show More
@@ -0,0 +1,51 b'' | |||
|
1 | #!/bin/sh | |
|
2 | ||
|
3 | echo "% init repo1" | |
|
4 | hg init repo1 | |
|
5 | cd repo1 | |
|
6 | ||
|
7 | echo | |
|
8 | echo "% add a; ci" | |
|
9 | echo "some text" > a | |
|
10 | hg add | |
|
11 | hg ci -d '0 0' -m first | |
|
12 | ||
|
13 | echo | |
|
14 | echo "% cat .hg/store/fncache" | |
|
15 | cat .hg/store/fncache | |
|
16 | ||
|
17 | echo | |
|
18 | echo "% add a.i/b; ci" | |
|
19 | mkdir a.i | |
|
20 | echo "some other text" > a.i/b | |
|
21 | hg add | |
|
22 | hg ci -d '0 0' -m second | |
|
23 | ||
|
24 | echo | |
|
25 | echo "% cat .hg/store/fncache" | |
|
26 | cat .hg/store/fncache | |
|
27 | ||
|
28 | echo | |
|
29 | echo "% add a.i.hg/c; ci" | |
|
30 | mkdir a.i.hg | |
|
31 | echo "yet another text" > a.i.hg/c | |
|
32 | hg add | |
|
33 | hg ci -d '0 0' -m third | |
|
34 | ||
|
35 | echo | |
|
36 | echo "% cat .hg/store/fncache" | |
|
37 | cat .hg/store/fncache | |
|
38 | ||
|
39 | echo | |
|
40 | echo "% hg verify" | |
|
41 | hg verify | |
|
42 | ||
|
43 | echo | |
|
44 | echo "% rm .hg/store/fncache" | |
|
45 | rm .hg/store/fncache | |
|
46 | ||
|
47 | echo | |
|
48 | echo "% hg verify" | |
|
49 | hg verify | |
|
50 | ||
|
51 | exit 0 |
@@ -0,0 +1,43 b'' | |||
|
1 | % init repo1 | |
|
2 | ||
|
3 | % add a; ci | |
|
4 | adding a | |
|
5 | ||
|
6 | % cat .hg/store/fncache | |
|
7 | data/a.i | |
|
8 | ||
|
9 | % add a.i/b; ci | |
|
10 | adding a.i/b | |
|
11 | ||
|
12 | % cat .hg/store/fncache | |
|
13 | data/a.i | |
|
14 | data/a.i.hg/b.i | |
|
15 | ||
|
16 | % add a.i.hg/c; ci | |
|
17 | adding a.i.hg/c | |
|
18 | ||
|
19 | % cat .hg/store/fncache | |
|
20 | data/a.i | |
|
21 | data/a.i.hg/b.i | |
|
22 | data/a.i.hg.hg/c.i | |
|
23 | ||
|
24 | % hg verify | |
|
25 | checking changesets | |
|
26 | checking manifests | |
|
27 | crosschecking files in changesets and manifests | |
|
28 | checking files | |
|
29 | 3 files, 3 changesets, 3 total revisions | |
|
30 | ||
|
31 | % rm .hg/store/fncache | |
|
32 | ||
|
33 | % hg verify | |
|
34 | checking changesets | |
|
35 | checking manifests | |
|
36 | crosschecking files in changesets and manifests | |
|
37 | checking files | |
|
38 | data/a.i@0: missing revlog! | |
|
39 | data/a.i.hg.hg/c.i@0: missing revlog! | |
|
40 | data/a.i.hg/b.i@0: missing revlog! | |
|
41 | 3 files, 3 changesets, 3 total revisions | |
|
42 | 3 integrity errors encountered! | |
|
43 | (first damaged changeset appears to be 0) |
General Comments 0
You need to be logged in to leave comments.
Login now