Mercurial > public > mercurial-scm > hg-stable
diff mercurial/match.py @ 8678:43598055bae8
match: document bad callback semantics
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 31 May 2009 17:54:18 -0500 |
parents | 4dea46d4e3f8 |
children | b6511055d37b |
line wrap: on
line diff
--- a/mercurial/match.py Sun May 31 17:54:18 2009 -0500 +++ b/mercurial/match.py Sun May 31 17:54:18 2009 -0500 @@ -81,6 +81,13 @@ for f in self._files: yield f def bad(self, f, msg): + '''callback for each explicit file that can't be + found/accessed, with an error message + + return True to keep file in results, False to discard + + default behavior is to silently keep + ''' return True def dir(self, f): pass