##// END OF EJS Templates
Make test-verify SUSv3 compatible....
Make test-verify SUSv3 compatible. 'head -c' isn't supported on (at least) OpenBSD and is not part of SUSv3. Instead, use dd. See also: http://www.opengroup.org/onlinepubs/009695399/utilities/head.html

File last commit:

r8633:c31fe74a default
r8720:da1b9358 default
Show More
test-fncache.out
81 lines | 1.1 KiB | text/plain | TextLexer
% 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