mercurial/vfs.py
changeset 52163 7346f93be7a4
parent 51890 992fcf6b2473
child 52643 5cc8deb96b48
--- a/mercurial/vfs.py	Wed Jun 19 17:03:13 2024 +0200
+++ b/mercurial/vfs.py	Wed Jun 19 19:10:49 2024 +0200
@@ -82,6 +82,10 @@
     # encoded vfs (see issue6546)
     _dir_sep: bytes = b'/'
 
+    # Used to disable the Rust `InnerRevlog` in case the VFS is not supported
+    # by the Rust code
+    rust_compatible = True
+
     # TODO: type return, which is util.posixfile wrapped by a proxy
     @abc.abstractmethod
     def __call__(self, path: bytes, mode: bytes = b'rb', **kwargs) -> Any: