##// END OF EJS Templates
dirstatemap: move `_drop_entry` out of the common methods...
Raphaël Gomès -
r50007:cebb263c default
parent child Browse files
Show More
@@ -101,13 +101,6 b' class _dirstatemapcommon:'
101 def _refresh_entry(self, f, entry):
101 def _refresh_entry(self, f, entry):
102 """record updated state of an entry"""
102 """record updated state of an entry"""
103
103
104 def _drop_entry(self, f):
105 """remove any entry for file f
106
107 This should also drop associated copy information
108
109 The fact we actually need to drop it is the responsability of the caller"""
110
111 ### disk interaction
104 ### disk interaction
112
105
113 def _opendirstatefile(self):
106 def _opendirstatefile(self):
@@ -534,6 +527,11 b' class dirstatemap(_dirstatemapcommon):'
534 self._map.pop(f, None)
527 self._map.pop(f, None)
535
528
536 def _drop_entry(self, f):
529 def _drop_entry(self, f):
530 """remove any entry for file f
531
532 This should also drop associated copy information
533
534 The fact we actually need to drop it is the responsability of the caller"""
537 self._map.pop(f, None)
535 self._map.pop(f, None)
538 self.copymap.pop(f, None)
536 self.copymap.pop(f, None)
539
537
General Comments 0
You need to be logged in to leave comments. Login now