# HG changeset patch # User Alexis S. L. Carvalho # Date 1174439393 10800 # Node ID a7cae4e22749610bff70b41163fc0b421f97508a # Parent 9e3e975258a9b8ae379ba36114089b2f3cb473b3 Pass normalized directory names to the ignore function This fixes a bad performance regression caused by dd0d9bd91e0a. diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -423,7 +423,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 imatch(np) and np in dc: yield 'm', np, st