diff -r c3239f2ee61b -r 6fd9a17c32ab mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Jan 18 20:35:04 2022 +0100 +++ b/mercurial/localrepo.py Mon Jan 24 12:44:20 2022 +0100 @@ -932,7 +932,7 @@ if engine.available() and engine.revlogheader(): supported.add(b'exp-compression-%s' % name) if engine.name() == b'zstd': - supported.add(b'revlog-compression-zstd') + supported.add(requirementsmod.REVLOG_COMPRESSION_ZSTD) return supported