mercurial/copies.py
changeset 20989 e8533ec2d222
parent 20641 3db9e798e004
child 20990 d9e211a658eb
--- a/mercurial/copies.py	Mon Apr 07 23:17:51 2014 +0200
+++ b/mercurial/copies.py	Tue Feb 25 20:31:51 2014 +0100
@@ -228,9 +228,6 @@
     fullcopy = {}
     diverge = {}
 
-    def _checkcopies(f, m1, m2):
-        checkcopies(ctx, f, m1, m2, ca, limit, diverge, copy, fullcopy)
-
     repo.ui.debug("  searching for copies back to rev %d\n" % limit)
 
     u1 = _nonoverlap(m1, m2, ma)
@@ -244,9 +241,10 @@
                       % "\n   ".join(u2))
 
     for f in u1:
-        _checkcopies(f, m1, m2)
+        checkcopies(ctx, f, m1, m2, ca, limit, diverge, copy, fullcopy)
+
     for f in u2:
-        _checkcopies(f, m2, m1)
+        checkcopies(ctx, f, m2, m1, ca, limit, diverge, copy, fullcopy)
 
     renamedelete = {}
     renamedelete2 = set()