merge with hg-stable
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 14 Dec 2006 19:10:05 +0100
changeset 3882 daa42bac8611
parent 3879 9c8488490724 (current diff)
parent 3881 c0a12e6441a5 (diff)
child 3883 6081b4c68baf
merge with hg-stable
old mode 100755
new mode 100644
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -109,10 +109,10 @@ def findcopies(repo, m1, m2, ma, limit):
         visit = [fctx]
         while visit:
             fc = visit.pop()
+            if fc.path() != orig and fc.path() not in old:
+                old[fc.path()] = 1
             if fc.rev() < limit:
                 continue
-            if fc.path() != orig and fc.path() not in old:
-                old[fc.path()] = 1
             visit += fc.parents()
 
         old = old.keys()