##// END OF EJS Templates
dirstate: fix filefoldmap incosistency on file delete...
Mateusz Kwapich -
r26887:663eff02 stable
parent child Browse files
Show More
@@ -445,6 +445,11 b' class dirstate(object):'
445 if self[f] not in "?r" and "_dirs" in self.__dict__:
445 if self[f] not in "?r" and "_dirs" in self.__dict__:
446 self._dirs.delpath(f)
446 self._dirs.delpath(f)
447
447
448 if "_filefoldmap" in self.__dict__:
449 normed = util.normcase(f)
450 if normed in self._filefoldmap:
451 del self._filefoldmap[normed]
452
448 def _addpath(self, f, state, mode, size, mtime):
453 def _addpath(self, f, state, mode, size, mtime):
449 oldstate = self[f]
454 oldstate = self[f]
450 if state == 'a' or oldstate == 'r':
455 if state == 'a' or oldstate == 'r':
General Comments 0
You need to be logged in to leave comments. Login now