mercurial/dirstate.py
changeset 50114 c175b4857498
parent 50109 bec7182cc406
child 50115 62f633f751a4
equal deleted inserted replaced
50113:dae8dda6f582 50114:c175b4857498
   856         return path
   856         return path
   857 
   857 
   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
   864 
   867 
   865     # XXX since this make the dirstate dirty, we should enforce that it is done
   868     # XXX since this make the dirstate dirty, we should enforce that it is done