Mercurial > hg
view tests/test-fncache.out @ 8108:a26d33749bd8
made repo locks recursive and deprecate refcounting based lock releasing
all locks should use the explicit lock.release
mercurial.lock.lock.__del__ handles unwrapping recursive locks
localrepo.lock/wlock are still using weakref in order to keep backward
compatibiltiy to releasing locks via garbage collection
by ensuring the release on __del__
author | Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> |
---|---|
date | Wed, 22 Apr 2009 02:01:22 +0200 |
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)