tests/test-verify.out
author Patrick Mezard <pmezard@gmail.com>
Mon, 10 May 2010 22:46:16 +0200
changeset 11141 df5d1d571d27
parent 9690 b33d70849a20
child 12170 581066a319e5
permissions -rw-r--r--
tests: force color ansi mode on Windows
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6893
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     1
% prepare repo
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     2
adding FOO.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     3
adding QUICK.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     4
adding bar.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     5
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     6
% verify
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     7
checking changesets
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     8
checking manifests
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     9
crosschecking files in changesets and manifests
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    10
checking files
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    11
3 files, 1 changesets, 3 total revisions
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    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
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    21
% introduce some bugs in repo
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    22
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    23
% verify
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    24
checking changesets
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    25
checking manifests
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    26
crosschecking files in changesets and manifests
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    27
checking files
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    28
 data/FOO.txt.i@0: missing revlog!
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    29
 0: empty or missing FOO.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    30
 FOO.txt@0: f62022d3d590 in manifests not found
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    31
 data/QUICK.txt.i@0: missing revlog!
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    32
 0: empty or missing QUICK.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    33
 QUICK.txt@0: 88b857db8eba in manifests not found
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    34
 data/bar.txt.i@0: missing revlog!
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    35
 0: empty or missing bar.txt
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    36
 bar.txt@0: 256559129457 in manifests not found
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    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
c3368278f86c add test-verify
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    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)