mercurial/dirstate.py
branchstable
changeset 13233 0b30e6148ec5
parent 12907 e255a5dc29e6
child 13234 0935ff767285
child 13339 22167be007ed
--- a/mercurial/dirstate.py	Wed Jan 05 10:57:52 2011 +0100
+++ b/mercurial/dirstate.py	Tue Jan 04 03:53:11 2011 -0800
@@ -503,7 +503,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):