diff mercurial/repository.py @ 40795:e1c3a2e9df59

repo: add a `wcachevfs` to access the `.hg/wcache/` directory This wvfs will allow us to migrate various cache to the new `wcache` directory. Helping with cache issues with "share".
author Boris Feld <boris.feld@octobus.net>
date Thu, 15 Nov 2018 02:55:33 +0100
parents 968dd7e02ac5
children b2de94e59702
line wrap: on
line diff
--- a/mercurial/repository.py	Thu Nov 15 02:46:31 2018 +0100
+++ b/mercurial/repository.py	Thu Nov 15 02:55:33 2018 +0100
@@ -1435,6 +1435,12 @@
         Typically .hg/cache.
         """)
 
+    wcachevfs = interfaceutil.Attribute(
+        """A VFS used to access the cache directory dedicated to working copy
+
+        Typically .hg/wcache.
+        """)
+
     filteredrevcache = interfaceutil.Attribute(
         """Holds sets of revisions to be filtered.""")