D6160: store: recommend using `hg debugrebuildfncache` if fncache is corrupted
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Mar 20 14:07:31 EDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3e7cfa17df5d: store: recommend using `hg debugrebuildfncache` is fncache is corrupted (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6160?vs=14566&id=14569
REVISION DETAIL
https://phab.mercurial-scm.org/D6160
AFFECTED FILES
mercurial/store.py
CHANGE DETAILS
diff --git a/mercurial/store.py b/mercurial/store.py
--- a/mercurial/store.py
+++ b/mercurial/store.py
@@ -482,7 +482,9 @@
pass
if chunk:
- raise error.Abort(_("fncache does not ends with a newline"))
+ raise error.Abort(_("fncache does not ends with a newline"),
+ hint=_("use 'hg debugrebuildfncache' to rebuild"
+ " the fncache"))
self._checkentries(fp)
fp.close()
To: pulkit, #hg-reviewers
Cc: mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list