Mercurial > public > mercurial-scm > hg-stable
diff mercurial/match.py @ 19143:3cb9468535bd
match: make explicitdir and traversedir None by default
With this, extensions can easily tell when traversedir and/or explicitdir don't
need to be called.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 03 May 2013 14:41:58 -0700 |
parents | aed8ec10c235 |
children | facd906caeeb |
line wrap: on
line diff
--- a/mercurial/match.py Fri May 03 14:39:28 2013 -0700 +++ b/mercurial/match.py Fri May 03 14:41:58 2013 -0700 @@ -119,10 +119,8 @@ found/accessed, with an error message ''' pass - def explicitdir(self, f): - pass - def traversedir(self, f): - pass + explicitdir = None + traversedir = None def missing(self, f): pass def exact(self, f):