##// END OF EJS Templates
dirstate: report bad subdirectories as match.bad, not just a warning (BC)...
Mads Kiilerich -
r21116:30c60e28 default
parent child Browse files
Show More
@@ -637,10 +637,6 b' class dirstate(object):'
637 637 # implementation doesn't use it at all. This satisfies the contract
638 638 # because we only guarantee a "maybe".
639 639
640 def fwarn(f, msg):
641 self._ui.warn('%s: %s\n' % (self.pathto(f), msg))
642 return False
643
644 640 if ignored:
645 641 ignore = util.never
646 642 dirignore = util.never
@@ -695,7 +691,7 b' class dirstate(object):'
695 691 entries = listdir(join(nd), stat=True, skip=skip)
696 692 except OSError, inst:
697 693 if inst.errno in (errno.EACCES, errno.ENOENT):
698 fwarn(nd, inst.strerror)
694 match.bad(self.pathto(nd), inst.strerror)
699 695 continue
700 696 raise
701 697 for f, kind, st in entries:
General Comments 0
You need to be logged in to leave comments. Login now