Mercurial > public > mercurial-scm > hg-stable
diff mercurial/copies.py @ 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 | 07ac78ba2e37 |
children | f3c6540f2cd1 |
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)