diff mercurial/store.py @ 47859:155a2ec8a9dc

merge with stable
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 22 Aug 2021 16:32:06 -0400
parents 59bc92a7c60f
children 2174f54aab18
line wrap: on
line diff
--- a/mercurial/store.py	Tue Jul 20 17:20:19 2021 +0200
+++ b/mercurial/store.py	Sun Aug 22 16:32:06 2021 -0400
@@ -569,6 +569,11 @@
         self.vfs = vfsmod.filtervfs(vfs, encodefilename)
         self.opener = self.vfs
 
+    # note: topfiles would also need a decode phase. It is just that in
+    # practice we do not have any file outside of `data/` that needs encoding.
+    # However that might change so we should probably add a test and encoding
+    # decoding for it too. see issue6548
+
     def datafiles(self, matcher=None):
         for t, a, b, size in super(encodedstore, self).datafiles():
             try: