store: no longer explicitly mark the splitted index as ignored
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 08:56:08 +0200
changeset 50470 814f55775b21
parent 50469 53af67c70af0
child 50471 521fec115dad
store: no longer explicitly mark the splitted index as ignored Since the fncache is going to automatically recognised it as non "normal" revlog file, we don't need to explicitly make it ignored.
mercurial/revlog.py
--- a/mercurial/revlog.py	Mon May 15 08:55:52 2023 +0200
+++ b/mercurial/revlog.py	Mon May 15 08:56:08 2023 +0200
@@ -2060,10 +2060,6 @@
             opener = self.opener
             weak_self = weakref.ref(self)
 
-            fncache = getattr(opener, 'fncache', None)
-            if fncache is not None:
-                fncache.addignore(new_index_file_path)
-
             # the "split" index replace the real index when the transaction is finalized
             def finalize_callback(tr):
                 opener.rename(