Show More
@@ -42,6 +42,10 b' HINT_FNCACHE = _(' | |||||
42 | b'hint: run "hg debugrebuildfncache" to recover from corrupt fncache\n' |
|
42 | b'hint: run "hg debugrebuildfncache" to recover from corrupt fncache\n' | |
43 | ) |
|
43 | ) | |
44 |
|
44 | |||
|
45 | WARN_PARENT_DIR_UNKNOWN_REV = _( | |||
|
46 | b"parent-directory manifest refers to unknown revision %s" | |||
|
47 | ) | |||
|
48 | ||||
45 |
|
49 | |||
46 | class verifier(object): |
|
50 | class verifier(object): | |
47 | def __init__(self, repo, level=None): |
|
51 | def __init__(self, repo, level=None): | |
@@ -372,15 +376,7 b' class verifier(object):' | |||||
372 | changesetpairs = [(c, m) for m in mflinkrevs for c in mflinkrevs[m]] |
|
376 | changesetpairs = [(c, m) for m in mflinkrevs for c in mflinkrevs[m]] | |
373 | for c, m in sorted(changesetpairs): |
|
377 | for c, m in sorted(changesetpairs): | |
374 | if dir: |
|
378 | if dir: | |
375 | self._err( |
|
379 | self._err(c, WARN_PARENT_DIR_UNKNOWN_REV % short(m), label) | |
376 | c, |
|
|||
377 | _( |
|
|||
378 | b"parent-directory manifest refers to unknown" |
|
|||
379 | b" revision %s" |
|
|||
380 | ) |
|
|||
381 | % short(m), |
|
|||
382 | label, |
|
|||
383 | ) |
|
|||
384 | else: |
|
380 | else: | |
385 | self._err( |
|
381 | self._err( | |
386 | c, |
|
382 | c, |
General Comments 0
You need to be logged in to leave comments.
Login now