diff -r 4c041c71ec01 -r 64cd1496bb70 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Apr 06 05:20:24 2021 +0200 +++ b/mercurial/localrepo.py Thu Apr 08 19:00:21 2021 +0200 @@ -3368,8 +3368,8 @@ self._wanted_sidedata.add(pycompat.bytestr(category)) def register_sidedata_computer(self, kind, category, keys, computer): - if kind not in (b"changelog", b"manifest", b"filelog"): - msg = _(b"unexpected revlog kind '%s'.") + if kind not in revlogconst.ALL_KINDS: + msg = _(b"unexpected revlog kind %r.") raise error.ProgrammingError(msg % kind) category = pycompat.bytestr(category) if category in self._sidedata_computers.get(kind, []):