mercurial/revlog.py
changeset 50504 814f55775b21
parent 50348 f952be90b051
child 50624 5ae124310ab0
equal deleted inserted replaced
50503:53af67c70af0 50504:814f55775b21
  2058             old_index_file_path = self._indexfile
  2058             old_index_file_path = self._indexfile
  2059             new_index_file_path = self._indexfile + b'.s'
  2059             new_index_file_path = self._indexfile + b'.s'
  2060             opener = self.opener
  2060             opener = self.opener
  2061             weak_self = weakref.ref(self)
  2061             weak_self = weakref.ref(self)
  2062 
  2062 
  2063             fncache = getattr(opener, 'fncache', None)
       
  2064             if fncache is not None:
       
  2065                 fncache.addignore(new_index_file_path)
       
  2066 
       
  2067             # the "split" index replace the real index when the transaction is finalized
  2063             # the "split" index replace the real index when the transaction is finalized
  2068             def finalize_callback(tr):
  2064             def finalize_callback(tr):
  2069                 opener.rename(
  2065                 opener.rename(
  2070                     new_index_file_path,
  2066                     new_index_file_path,
  2071                     old_index_file_path,
  2067                     old_index_file_path,