diff mercurial/store.py @ 46253:1cebad969d88

persistent-nodemap: also list related file as part of the store This make sure they are will be selected during upgrade, and copy based clone. Differential Revision: https://phab.mercurial-scm.org/D9749
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Jan 2021 19:49:18 +0100
parents 59fa3890d40a
children 7c1367c0b5bc
line wrap: on
line diff
--- a/mercurial/store.py	Wed Jan 13 12:50:47 2021 +0100
+++ b/mercurial/store.py	Tue Jan 12 19:49:18 2021 +0100
@@ -389,7 +389,7 @@
 
 
 def isrevlog(f, kind, st):
-    return kind == stat.S_IFREG and f[-2:] in (b'.i', b'.d')
+    return kind == stat.S_IFREG and f[-2:] in (b'.i', b'.d', b'.n', b'.nd')
 
 
 class basicstore(object):