##// END OF EJS Templates
verify: use some intermediate variables instead of a multi-liner...
marmoute -
r48147:ba8a9fbe default
parent child Browse files
Show More
@@ -38,6 +38,11 b' def _normpath(f):'
38 38 return f
39 39
40 40
41 HINT_FNCACHE = _(
42 b'hint: run "hg debugrebuildfncache" to recover from corrupt fncache\n'
43 )
44
45
41 46 class verifier(object):
42 47 def __init__(self, repo, level=None):
43 48 self.repo = repo.unfiltered()
@@ -202,12 +207,7 b' class verifier(object):'
202 207 if self.warnings:
203 208 ui.warn(_(b"%d warnings encountered!\n") % self.warnings)
204 209 if self.fncachewarned:
205 ui.warn(
206 _(
207 b'hint: run "hg debugrebuildfncache" to recover from '
208 b'corrupt fncache\n'
209 )
210 )
210 ui.warn(HINT_FNCACHE)
211 211 if self.errors:
212 212 ui.warn(_(b"%d integrity errors encountered!\n") % self.errors)
213 213 if self.badrevs:
General Comments 0
You need to be logged in to leave comments. Login now