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()