##// END OF EJS Templates
verify: don't reimplement any()...
Martin von Zweigbergk -
r36357:a4d41ba4 default
parent child Browse files
Show More
@@ -456,12 +456,7 b' class verifier(object):'
456 if rp:
456 if rp:
457 if lr is not None and ui.verbose:
457 if lr is not None and ui.verbose:
458 ctx = lrugetctx(lr)
458 ctx = lrugetctx(lr)
459 found = False
459 if not any(rp[0] in pctx for pctx in ctx.parents()):
460 for pctx in ctx.parents():
461 if rp[0] in pctx:
462 found = True
463 break
464 if not found:
465 self.warn(_("warning: copy source of '%s' not"
460 self.warn(_("warning: copy source of '%s' not"
466 " in parents of %s") % (f, ctx))
461 " in parents of %s") % (f, ctx))
467 fl2 = repo.file(rp[0])
462 fl2 = repo.file(rp[0])
General Comments 0
You need to be logged in to leave comments. Login now