##// END OF EJS Templates
walk: we always have a badfn
Matt Mackall -
r8676:acd69fc2 default
parent child Browse files
Show More
@@ -425,9 +425,6 b' class dirstate(object):'
425 def fwarn(f, msg):
425 def fwarn(f, msg):
426 self._ui.warn('%s: %s\n' % (self.pathto(f), msg))
426 self._ui.warn('%s: %s\n' % (self.pathto(f), msg))
427 return False
427 return False
428 badfn = fwarn
429 if hasattr(match, 'bad'):
430 badfn = match.bad
431
428
432 def badtype(f, mode):
429 def badtype(f, mode):
433 kind = _('unknown')
430 kind = _('unknown')
@@ -450,6 +447,7 b' class dirstate(object):'
450 dirignore = util.always
447 dirignore = util.always
451
448
452 matchfn = match.matchfn
449 matchfn = match.matchfn
450 badfn = match.bad
453 dmap = self._map
451 dmap = self._map
454 normpath = util.normpath
452 normpath = util.normpath
455 normalize = self.normalize
453 normalize = self.normalize
General Comments 0
You need to be logged in to leave comments. Login now