Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
25626:ea0902e3128e | 25627:9573d8f346f1 |
---|---|
242 | 242 |
243 for ff in fl.files(): | 243 for ff in fl.files(): |
244 try: | 244 try: |
245 storefiles.remove(ff) | 245 storefiles.remove(ff) |
246 except KeyError: | 246 except KeyError: |
247 err(lr, _("missing revlog!"), ff) | 247 warn(_(" warning: revlog '%s' not in fncache!") % ff) |
248 | 248 |
249 checklog(fl, f, lr) | 249 checklog(fl, f, lr) |
250 seen = {} | 250 seen = {} |
251 rp = None | 251 rp = None |
252 for i in fl: | 252 for i in fl: |