diff mercurial/verify.py @ 25627:9573d8f346f1

verify: clarify misleading fncache message This is a message about cache corruption, not repository corruption or actually missing files. Fix message and reduce to a warning.
author Matt Mackall <mpm@selenic.com>
date Fri, 19 Jun 2015 12:00:06 -0500
parents dded1eeeff64
children 9d1e04f5dca7
line wrap: on
line diff
--- a/mercurial/verify.py	Fri Jun 19 11:07:15 2015 -0700
+++ b/mercurial/verify.py	Fri Jun 19 12:00:06 2015 -0500
@@ -244,7 +244,7 @@
             try:
                 storefiles.remove(ff)
             except KeyError:
-                err(lr, _("missing revlog!"), ff)
+                warn(_(" warning: revlog '%s' not in fncache!") % ff)
 
         checklog(fl, f, lr)
         seen = {}