##// END OF EJS Templates
dirstate: stop caring about match.explicitdir...
Martin von Zweigbergk -
r44113:deacffd2 default
parent child Browse files
Show More
@@ -769,7 +769,6 b' class dirstate(object):'
769 769 kind = _(b'directory')
770 770 return _(b'unsupported file type (type is %s)') % kind
771 771
772 matchedir = match.explicitdir
773 772 badfn = match.bad
774 773 dmap = self._map
775 774 lstat = os.lstat
@@ -823,8 +822,6 b' class dirstate(object):'
823 822 if nf in dmap:
824 823 # file replaced by dir on disk but still in dirstate
825 824 results[nf] = None
826 if matchedir:
827 matchedir(nf)
828 825 foundadd((nf, ff))
829 826 elif kind == regkind or kind == lnkkind:
830 827 results[nf] = st
@@ -837,8 +834,6 b' class dirstate(object):'
837 834 results[nf] = None
838 835 else: # does it match a missing directory?
839 836 if self._map.hasdir(nf):
840 if matchedir:
841 matchedir(nf)
842 837 notfoundadd(nf)
843 838 else:
844 839 badfn(ff, encoding.strtolocal(inst.strerror))
General Comments 0
You need to be logged in to leave comments. Login now