mercurial/dirstate.py
changeset 48790 5ba24e886cec
parent 48685 21ac6aedd5e5
child 48793 6e559391f96e
equal deleted inserted replaced
48789:ef50a62eec40 48790:5ba24e886cec
   760         if write_key:
   760         if write_key:
   761             # we update the key-file after writing to make sure reader have a
   761             # we update the key-file after writing to make sure reader have a
   762             # key that match the newly written content
   762             # key that match the newly written content
   763             with file(self._filename_tk) as f:
   763             with file(self._filename_tk) as f:
   764                 self._write_tracked_key(tr, f)
   764                 self._write_tracked_key(tr, f)
       
   765 
       
   766     def delete_tracked_key(self):
       
   767         """remove the tracked_key file
       
   768 
       
   769         To be used by format downgrades operation"""
       
   770         self._opener.unlink(self._filename_tk)
       
   771         self._use_tracked_key = False
   765 
   772 
   766     def addparentchangecallback(self, category, callback):
   773     def addparentchangecallback(self, category, callback):
   767         """add a callback to be called when the wd parents are changed
   774         """add a callback to be called when the wd parents are changed
   768 
   775 
   769         Callback will be called with the following arguments:
   776         Callback will be called with the following arguments: