mercurial/copies.py
changeset 26319 4b9bb1616195
parent 26317 07ac78ba2e37
child 26655 f3c6540f2cd1
--- a/mercurial/copies.py	Wed Aug 19 14:05:42 2015 -0500
+++ b/mercurial/copies.py	Wed Aug 19 15:11:17 2015 -0500
@@ -277,6 +277,8 @@
     if limit is None:
         # no common ancestor, no copies
         return {}, {}, {}, {}
+    repo.ui.debug("  searching for copies back to rev %d\n" % limit)
+
     m1 = c1.manifest()
     m2 = c2.manifest()
     ma = ca.manifest()
@@ -321,8 +323,6 @@
     fullcopy1, fullcopy2 = {}, {}
     diverge = {}
 
-    repo.ui.debug("  searching for copies back to rev %d\n" % limit)
-
     addedinm1 = m1.filesnotin(ma)
     addedinm2 = m2.filesnotin(ma)
     u1, u2 = _computenonoverlap(repo, c1, c2, addedinm1, addedinm2)