mercurial/dirstate.py
changeset 7023 74be9d0c665c
parent 7008 8fee8ff13d37
child 7032 7dfac37cfabf
equal deleted inserted replaced
7022:bdc8d00c4ffa 7023:74be9d0c665c
   420         results are yielded in a tuple (filename, stat), where stat
   420         results are yielded in a tuple (filename, stat), where stat
   421         and st is the stat result if the file was found in the directory.
   421         and st is the stat result if the file was found in the directory.
   422         '''
   422         '''
   423 
   423 
   424         def fwarn(f, msg):
   424         def fwarn(f, msg):
   425             self._ui.warn('%s: %s\n' % (self.pathto(ff), msg))
   425             self._ui.warn('%s: %s\n' % (self.pathto(f), msg))
   426             return False
   426             return False
   427         badfn = fwarn
   427         badfn = fwarn
   428         if hasattr(match, 'bad'):
   428         if hasattr(match, 'bad'):
   429             badfn = match.bad
   429             badfn = match.bad
   430 
   430