changeset 26319:4b9bb1616195

copies: move debug statement to appropriate place
author Matt Mackall <mpm@selenic.com>
date Wed, 19 Aug 2015 15:11:17 -0500
parents d3bd6cefd742
children 3ac7acb99b04
files mercurial/copies.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)