##// END OF EJS Templates
dirstate: add a comment about the semantic of `dirstate.clear`...
marmoute -
r51009:c175b485 default
parent child Browse files
Show More
@@ -858,6 +858,9 b' class dirstate:'
858 # XXX since this make the dirstate dirty, we should enforce that it is done
858 # XXX since this make the dirstate dirty, we should enforce that it is done
859 # withing an appropriate change-context that scope the change and ensure it
859 # withing an appropriate change-context that scope the change and ensure it
860 # eventually get written on disk (or rolled back)
860 # eventually get written on disk (or rolled back)
861 # XXX this method is barely used, as a result:
862 # - its semantic is unclear
863 # - do we really needs it ?
861 def clear(self):
864 def clear(self):
862 self._map.clear()
865 self._map.clear()
863 self._dirty = True
866 self._dirty = True
General Comments 0
You need to be logged in to leave comments. Login now