Mercurial > hg
changeset 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 | 8c7f1afad064 |
children | 39fd67552297 |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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