copies: move debug statement to appropriate place
authorMatt Mackall <mpm@selenic.com>
Wed, 19 Aug 2015 15:11:17 -0500
changeset 26319 4b9bb1616195
parent 26318 d3bd6cefd742
child 26320 3ac7acb99b04
copies: move debug statement to appropriate place
mercurial/copies.py
--- 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)