diff mercurial/interfaces/repository.py @ 50281:f34887316f1f stable

undo-files: factor the vfs map in a repository property We define it in multiple locations and inconsistencies are appearing. So we now have a single definition point.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 06 Mar 2023 13:30:41 +0100
parents ff7134e03629
children 6901916458bd
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Mon Mar 06 13:22:47 2023 +0100
+++ b/mercurial/interfaces/repository.py	Mon Mar 06 13:30:41 2023 +0100
@@ -1524,6 +1524,10 @@
         """Name of the repoview that is active on this repo."""
     )
 
+    vfs_map = interfaceutil.Attribute(
+        """a bytes-key → vfs mapping used by transaction and others"""
+    )
+
     wvfs = interfaceutil.Attribute(
         """VFS used to access the working directory."""
     )