changeset 12387 | 4f8067c94729 |
parent 12345 | e0ee3e822a9a |
child 12401 | 4cdaf1adafc8 |
--- a/mercurial/dirstate.py Thu Sep 23 10:59:21 2010 +0200 +++ b/mercurial/dirstate.py Thu Sep 23 00:02:31 2010 -0500 @@ -531,7 +531,7 @@ match.dir(nf) if not dirignore(nf): wadd(nf) - elif kind == regkind or kind == lnkkind: + elif kind in (regkind, lnkkind): results[nf] = st else: badfn(ff, badtype(kind))