# HG changeset patch # User Siddharth Agarwal # Date 1367961634 25200 # Node ID 63f7bd2e1a465f088a4e1b66e12ea18e896ab93f # Parent 022256ef47b8e32c9f943e912ac5d25ea91ccc49 dirstate._walkexplicit: inline dirsnotfound.append diff -r 022256ef47b8 -r 63f7bd2e1a46 mercurial/dirstate.py --- a/mercurial/dirstate.py Tue May 07 14:19:04 2013 -0700 +++ b/mercurial/dirstate.py Tue May 07 14:20:34 2013 -0700 @@ -559,6 +559,7 @@ dirsfound = [] foundadd = dirsfound.append dirsnotfound = [] + notfoundadd = dirsnotfound.append if match.matchfn != match.exact and self._checkcase: normalize = self._normalize @@ -615,7 +616,7 @@ if fn.startswith(prefix): if matchedir: matchedir(nf) - dirsnotfound.append(nf) + notfoundadd(nf) break else: badfn(ff, inst.strerror)