Show More
@@ -0,0 +1,26 b'' | |||||
|
1 | #!/bin/sh | |||
|
2 | ||||
|
3 | echo % prepare repo | |||
|
4 | hg init | |||
|
5 | echo "some text" > FOO.txt | |||
|
6 | echo "another text" > bar.txt | |||
|
7 | echo "more text" > QUICK.txt | |||
|
8 | hg add | |||
|
9 | hg ci -d '0 0' -mtest1 | |||
|
10 | ||||
|
11 | echo | |||
|
12 | echo % verify | |||
|
13 | hg verify | |||
|
14 | ||||
|
15 | echo | |||
|
16 | echo % introduce some bugs in repo | |||
|
17 | cd .hg/store/data | |||
|
18 | mv _f_o_o.txt.i X_f_o_o.txt.i | |||
|
19 | mv bar.txt.i xbar.txt.i | |||
|
20 | rm _q_u_i_c_k.txt.i | |||
|
21 | ||||
|
22 | echo | |||
|
23 | echo % verify | |||
|
24 | hg verify | |||
|
25 | ||||
|
26 | return 0 |
@@ -0,0 +1,34 b'' | |||||
|
1 | % prepare repo | |||
|
2 | adding FOO.txt | |||
|
3 | adding QUICK.txt | |||
|
4 | adding bar.txt | |||
|
5 | ||||
|
6 | % verify | |||
|
7 | checking changesets | |||
|
8 | checking manifests | |||
|
9 | crosschecking files in changesets and manifests | |||
|
10 | checking files | |||
|
11 | 3 files, 1 changesets, 3 total revisions | |||
|
12 | ||||
|
13 | % introduce some bugs in repo | |||
|
14 | ||||
|
15 | % verify | |||
|
16 | checking changesets | |||
|
17 | checking manifests | |||
|
18 | crosschecking files in changesets and manifests | |||
|
19 | checking files | |||
|
20 | ?: cannot decode filename 'data/X_f_o_o.txt.i' | |||
|
21 | data/FOO.txt.i@0: missing revlog! | |||
|
22 | 0: empty or missing FOO.txt | |||
|
23 | FOO.txt@0: f62022d3d590 in manifests not found | |||
|
24 | data/QUICK.txt.i@0: missing revlog! | |||
|
25 | 0: empty or missing QUICK.txt | |||
|
26 | QUICK.txt@0: 88b857db8eba in manifests not found | |||
|
27 | data/bar.txt.i@0: missing revlog! | |||
|
28 | 0: empty or missing bar.txt | |||
|
29 | bar.txt@0: 256559129457 in manifests not found | |||
|
30 | warning: orphan revlog 'data/xbar.txt.i' | |||
|
31 | 3 files, 1 changesets, 0 total revisions | |||
|
32 | 1 warnings encountered! | |||
|
33 | 10 integrity errors encountered! | |||
|
34 | (first damaged changeset appears to be 0) |
General Comments 0
You need to be logged in to leave comments.
Login now