tests/test-fncache.out
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 28 May 2009 17:44:57 +0200
changeset 8649 2c097e22492c
parent 8633 c31fe74a6633
child 8721 2816239e0020
permissions -rw-r--r--
clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop 937ee88da3ef was a noop, it was missing the wait keyword

% 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/c.i@2: missing revlog!
 data/a.i/b.i@1: missing revlog!
3 files, 3 changesets, 3 total revisions
3 integrity errors encountered!
(first damaged changeset appears to be 0)
% non store repo
adding tst.d/foo
.hg:
00changelog.i
00manifest.i
data
dirstate
requires
undo
undo.branch
undo.dirstate

.hg/data:
tst.d.hg

.hg/data/tst.d.hg:
foo.i
% non fncache repo
adding tst.d/Foo
.hg:
00changelog.i
dirstate
requires
store
undo.branch
undo.dirstate

.hg/store:
00changelog.i
00manifest.i
data
undo

.hg/store/data:
tst.d.hg

.hg/store/data/tst.d.hg:
_foo.i