mercurial/dirstate.py
changeset 4256 fe0fe0b4d73b
parent 4232 0d51eb296fb9
parent 4254 a7cae4e22749
child 4334 1cc5fc1d0994
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -442,7 +442,7 @@ class dirstate(object):
                     # don't trip over symlinks
                     st = os.lstat(p)
                     if stat.S_ISDIR(st.st_mode):
-                        if not ignore(p):
+                        if not ignore(np):
                             work.append(p)
                             if directories:
                                 yield 'd', np, st