changeset 3884:daa42bac8611

merge with hg-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 14 Dec 2006 19:10:05 +0100
parents 9c8488490724 (current diff) c0a12e6441a5 (diff)
children 6081b4c68baf
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/merge.py	Thu Dec 14 16:07:29 2006 +0100
+++ b/mercurial/merge.py	Thu Dec 14 19:10:05 2006 +0100
@@ -109,10 +109,10 @@
         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()