Mercurial > public > mercurial-scm > hg
diff mercurial/dirstate.py @ 8521:9fe16b1a1786
dirstate: use quicker matchfn() instead of match() everywhere
matchfn does the same as match(), but a direct "link"
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Thu, 14 May 2009 19:47:52 +0200 |
parents | b87a50b7125c |
children | 2624f485b9bc |
line wrap: on
line diff
--- a/mercurial/dirstate.py Tue May 19 15:10:45 2009 +0200 +++ b/mercurial/dirstate.py Thu May 14 19:47:52 2009 +0200 @@ -533,7 +533,7 @@ results[nf] = None # step 3: report unseen items in the dmap hash - visit = sorted([f for f in dmap if f not in results and match(f)]) + visit = sorted([f for f in dmap if f not in results and matchfn(f)]) for nf, st in zip(visit, util.statfiles([join(i) for i in visit])): if not st is None and not getkind(st.st_mode) in (regkind, lnkkind): st = None