Mercurial > hg
annotate tests/test-fncache.out @ 7958:73fa2be69ea9
Fix how setup.py identifies the Mercurial version.
There is a problem with setup.py where it will not identify the Mercurial
version properly when not being ran in within a repository even if
mercurial/__version__.py exists.
To fix, use mercurial.__version__.version when available before defaulting
to "unknown". (Using mercurial.util.version() is not an option due to a
dependency issue where osutil can be referenced before it is built.)
author | Jeremy Whitlock <jcscoobyrs@gmail.com> |
---|---|
date | Thu, 02 Apr 2009 18:18:43 -0600 |
parents | 794def2fe232 |
children | 810387f59696 |
rev | line source |
---|---|
7290 | 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! | |
7833
794def2fe232
verify: find correct first corrupted cset for missing/corrupted revlogs
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7290
diff
changeset
|
39 data/a.i.hg.hg/c.i@2: missing revlog! |
794def2fe232
verify: find correct first corrupted cset for missing/corrupted revlogs
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7290
diff
changeset
|
40 data/a.i.hg/b.i@1: missing revlog! |
7290 | 41 3 files, 3 changesets, 3 total revisions |
42 3 integrity errors encountered! | |
43 (first damaged changeset appears to be 0) |