Mercurial > hg
view 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 |
line wrap: on
line source
% init repo1 % add a; ci adding a % cat .hg/store/fncache data/a.i % add a.i/b; ci adding a.i/b % cat .hg/store/fncache data/a.i data/a.i.hg/b.i % add a.i.hg/c; ci adding a.i.hg/c % cat .hg/store/fncache data/a.i data/a.i.hg/b.i data/a.i.hg.hg/c.i % hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 3 files, 3 changesets, 3 total revisions % rm .hg/store/fncache % hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files data/a.i@0: missing revlog! data/a.i.hg.hg/c.i@2: missing revlog! data/a.i.hg/b.i@1: missing revlog! 3 files, 3 changesets, 3 total revisions 3 integrity errors encountered! (first damaged changeset appears to be 0)