changeset 2485 | 885de96eb542 |
parent 2470 | fe1689273f84 |
child 2486 | 3ea8111ead90 |
--- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -285,8 +285,9 @@ class dirstate(object): continue while bs < blen: s = b[bs] - if len(s) > len(x) and s.startswith(x) and s[len(x)] == '/': - ret[s] = self.map[s] + if len(s) > len(x) and s.startswith(x): + if s[len(x)] == '/': + ret[s] = self.map[s] else: break bs += 1