store: cleanup what is recognized as a revlog file
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 08:55:52 +0200
changeset 50469 53af67c70af0
parent 50468 fd5507619d16
child 50470 814f55775b21
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.
mercurial/store.py
--- 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
 #