changeset 50504:814f55775b21

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 08:56:08 +0200
parents 53af67c70af0
children 521fec115dad
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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(