diff mercurial/dirstate.py @ 13234:0935ff767285

merge with stable
author Martin Geisler <mg@aragost.com>
date Wed, 05 Jan 2011 15:56:03 +0100
parents 6f011cf52f9a 0b30e6148ec5
children 69e69b131458
line wrap: on
line diff
--- a/mercurial/dirstate.py	Fri Dec 31 17:09:38 2010 -0600
+++ b/mercurial/dirstate.py	Wed Jan 05 15:56:03 2011 +0100
@@ -505,7 +505,7 @@
         i, j = 0, 0
         while i < len(files) and j < len(subrepos):
             subpath = subrepos[j] + "/"
-            if not files[i].startswith(subpath):
+            if files[i] < subpath:
                 i += 1
                 continue
             while files and files[i].startswith(subpath):