changeset 13234 | 0935ff767285 |
parent 13200 | 6f011cf52f9a |
parent 13233 | 0b30e6148ec5 |
child 13343 | 69e69b131458 |
--- 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):