# HG changeset patch # User Pierre-Yves David # Date 2021-07-27 17:36:20 # Node ID 59bc92a7c60fc8e90d6e71cf6ea8f3331f3c67e7 # Parent 17211649bac2ea248fff8d9745678377057a5143 store: document the decoding discrepancy in store.py This will help future people that might be looking into this. Differential Revision: https://phab.mercurial-scm.org/D11220 diff --git a/mercurial/store.py b/mercurial/store.py --- a/mercurial/store.py +++ b/mercurial/store.py @@ -569,6 +569,11 @@ class encodedstore(basicstore): 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: