comparison mercurial/match.py @ 8680:b6511055d37b

match: ignore return of match.bad All users returned false, return can now be dropped
author Matt Mackall <mpm@selenic.com>
date Sun, 31 May 2009 17:54:18 -0500
parents 43598055bae8
children cc7da5aae4cd
comparison
equal deleted inserted replaced
8679:32537b12e091 8680:b6511055d37b
81 for f in self._files: 81 for f in self._files:
82 yield f 82 yield f
83 def bad(self, f, msg): 83 def bad(self, f, msg):
84 '''callback for each explicit file that can't be 84 '''callback for each explicit file that can't be
85 found/accessed, with an error message 85 found/accessed, with an error message
86
87 return True to keep file in results, False to discard
88
89 default behavior is to silently keep
90 ''' 86 '''
91 return True 87 pass
92 def dir(self, f): 88 def dir(self, f):
93 pass 89 pass
94 def missing(self, f): 90 def missing(self, f):
95 pass 91 pass
96 def exact(self, f): 92 def exact(self, f):