diff -r 17211649bac2 -r 59bc92a7c60f mercurial/store.py --- a/mercurial/store.py Tue Jul 27 19:19:00 2021 +0200 +++ b/mercurial/store.py Tue Jul 27 19:36:20 2021 +0200 @@ -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: