##// END OF EJS Templates
copies: inline a variable that's used only once...
Martin von Zweigbergk -
r39981:85c8ff26 default
parent child Browse files
Show More
@@ -816,11 +816,10 b' def _checkcopies(srcctx, dstctx, f, base'
816 of = None
816 of = None
817 seen = {f}
817 seen = {f}
818 for oc in getsrcfctx(f, msrc[f]).ancestors():
818 for oc in getsrcfctx(f, msrc[f]).ancestors():
819 ocr = oc.linkrev()
820 of = oc.path()
819 of = oc.path()
821 if of in seen:
820 if of in seen:
822 # check limit late - grab last rename before
821 # check limit late - grab last rename before
823 if ocr < limit:
822 if oc.linkrev() < limit:
824 break
823 break
825 continue
824 continue
826 seen.add(of)
825 seen.add(of)
General Comments 0
You need to be logged in to leave comments. Login now