Show More
@@ -38,6 +38,11 b' def _normpath(f):' | |||||
38 | return f |
|
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 | class verifier(object): |
|
46 | class verifier(object): | |
42 | def __init__(self, repo, level=None): |
|
47 | def __init__(self, repo, level=None): | |
43 | self.repo = repo.unfiltered() |
|
48 | self.repo = repo.unfiltered() | |
@@ -202,12 +207,7 b' class verifier(object):' | |||||
202 | if self.warnings: |
|
207 | if self.warnings: | |
203 | ui.warn(_(b"%d warnings encountered!\n") % self.warnings) |
|
208 | ui.warn(_(b"%d warnings encountered!\n") % self.warnings) | |
204 | if self.fncachewarned: |
|
209 | if self.fncachewarned: | |
205 | ui.warn( |
|
210 | ui.warn(HINT_FNCACHE) | |
206 | _( |
|
|||
207 | b'hint: run "hg debugrebuildfncache" to recover from ' |
|
|||
208 | b'corrupt fncache\n' |
|
|||
209 | ) |
|
|||
210 | ) |
|
|||
211 | if self.errors: |
|
211 | if self.errors: | |
212 | ui.warn(_(b"%d integrity errors encountered!\n") % self.errors) |
|
212 | ui.warn(_(b"%d integrity errors encountered!\n") % self.errors) | |
213 | if self.badrevs: |
|
213 | if self.badrevs: |
General Comments 0
You need to be logged in to leave comments.
Login now