Mercurial > hg
annotate tests/test-verify.out @ 12170:581066a319e5 stable
verify: fix "missing revlog!" errors for revlog format v0 and add test
With revlog format v0 the .d files are empty if the only revision stored is an
empty file. Since Mercurial can no longer create format v0 repositories, but
still use it, add a script which creates a repository with a single empty file.
This can be used in other tests if wanted.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 05 Sep 2010 22:32:11 +0200 |
parents | b33d70849a20 |
children |
rev | line source |
---|---|
6893 | 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 | |
9690
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
13 % verify with journal |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
14 abandoned transaction found - run hg recover |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
15 checking changesets |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
16 checking manifests |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
17 crosschecking files in changesets and manifests |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
18 checking files |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
19 3 files, 1 changesets, 3 total revisions |
b33d70849a20
verify: report existence of journal
Sune Foldager <cryo@cyanite.org>
parents:
8016
diff
changeset
|
20 |
6893 | 21 % introduce some bugs in repo |
22 | |
23 % verify | |
24 checking changesets | |
25 checking manifests | |
26 crosschecking files in changesets and manifests | |
27 checking files | |
28 data/FOO.txt.i@0: missing revlog! | |
29 0: empty or missing FOO.txt | |
30 FOO.txt@0: f62022d3d590 in manifests not found | |
31 data/QUICK.txt.i@0: missing revlog! | |
32 0: empty or missing QUICK.txt | |
33 QUICK.txt@0: 88b857db8eba in manifests not found | |
34 data/bar.txt.i@0: missing revlog! | |
35 0: empty or missing bar.txt | |
36 bar.txt@0: 256559129457 in manifests not found | |
37 3 files, 1 changesets, 0 total revisions | |
7229
7946503ec76e
introduce fncache repository layout
Adrian Buehlmann <adrian@cadifra.com>
parents:
6893
diff
changeset
|
38 9 integrity errors encountered! |
6893 | 39 (first damaged changeset appears to be 0) |
8016
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
40 % test revlog corruption |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
41 |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
42 % verify |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
43 checking changesets |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
44 checking manifests |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
45 crosschecking files in changesets and manifests |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
46 checking files |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
47 a@0: broken revlog! (index data/a.i is corrupted) |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
48 warning: orphan revlog 'data/a.i' |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
49 1 files, 1 changesets, 0 total revisions |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
50 1 warnings encountered! |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
51 1 integrity errors encountered! |
baaa832fd253
raise RevlogError when parser can't parse the revlog index
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7229
diff
changeset
|
52 (first damaged changeset appears to be 0) |
12170
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
53 % test revlog format 0 |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
54 repository uses revlog format 0 |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
55 checking changesets |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
56 checking manifests |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
57 crosschecking files in changesets and manifests |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
58 checking files |
581066a319e5
verify: fix "missing revlog!" errors for revlog format v0 and add test
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9690
diff
changeset
|
59 1 files, 1 changesets, 1 total revisions |