changeset 50503:53af67c70af0

store: cleanup what is recognized as a revlog file The temporary file from `censor` are not relevant to the store as they are just temporary. So let `fncache` and `datafiles` forget about them.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 08:55:52 +0200
parents fd5507619d16
children 814f55775b21
files mercurial/store.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/store.py	Mon May 15 08:55:34 2023 +0200
+++ b/mercurial/store.py	Mon May 15 08:55:52 2023 +0200
@@ -384,7 +384,7 @@
     b'requires',
 ]
 
-REVLOG_FILES_MAIN_EXT = (b'.i', b'i.tmpcensored')
+REVLOG_FILES_MAIN_EXT = (b'.i',)
 REVLOG_FILES_OTHER_EXT = (
     b'.idx',
     b'.d',
@@ -392,7 +392,6 @@
     b'.n',
     b'.nd',
     b'.sda',
-    b'd.tmpcensored',
 )
 # files that are "volatile" and might change between listing and streaming
 #