Mercurial > hg-stable
diff tests/test-fncache.t @ 25653:9d1e04f5dca7
verify: print hint to run debugrebuildfncache
Corrupt fncache is now a recoverable operation. Inform the user how to
recover from this warning.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 20 Jun 2015 20:11:53 -0700 |
parents | 2882d6886919 |
children | 3e84f40232c7 |
line wrap: on
line diff
--- a/tests/test-fncache.t Mon Jun 22 09:59:48 2015 -0700 +++ b/tests/test-fncache.t Sat Jun 20 20:11:53 2015 -0700 @@ -53,6 +53,23 @@ warning: revlog 'data/a.i/b.i' not in fncache! 3 files, 3 changesets, 3 total revisions 3 warnings encountered! + hint: run "hg debugrebuildfncache" to recover from corrupt fncache + +Follow the hint to make sure it works + + $ hg debugrebuildfncache + adding data/a.i + adding data/a.i.hg/c.i + adding data/a.i/b.i + 3 items added, 0 removed from fncache + + $ hg verify + checking changesets + checking manifests + crosschecking files in changesets and manifests + checking files + 3 files, 3 changesets, 3 total revisions + $ cd .. Non store repo: