##// END OF EJS Templates
dirstate: use parsers.make_file_foldmap when available...
Siddharth Agarwal -
r24610:4a401883 default
parent child Browse files
Show More
@@ -88,6 +88,14 b' class dirstate(object):'
88
88
89 @propertycache
89 @propertycache
90 def _filefoldmap(self):
90 def _filefoldmap(self):
91 try:
92 makefilefoldmap = parsers.make_file_foldmap
93 except AttributeError:
94 pass
95 else:
96 return makefilefoldmap(self._map, util.normcasespec,
97 util.normcasefallback)
98
91 f = {}
99 f = {}
92 normcase = util.normcase
100 normcase = util.normcase
93 for name, s in self._map.iteritems():
101 for name, s in self._map.iteritems():
General Comments 0
You need to be logged in to leave comments. Login now