Show More
@@ -456,12 +456,7 b' class verifier(object):' | |||
|
456 | 456 | if rp: |
|
457 | 457 | if lr is not None and ui.verbose: |
|
458 | 458 | ctx = lrugetctx(lr) |
|
459 | found = False | |
|
460 | for pctx in ctx.parents(): | |
|
461 | if rp[0] in pctx: | |
|
462 | found = True | |
|
463 | break | |
|
464 | if not found: | |
|
459 | if not any(rp[0] in pctx for pctx in ctx.parents()): | |
|
465 | 460 | self.warn(_("warning: copy source of '%s' not" |
|
466 | 461 | " in parents of %s") % (f, ctx)) |
|
467 | 462 | fl2 = repo.file(rp[0]) |
General Comments 0
You need to be logged in to leave comments.
Login now