--- a/tests/testlib/ext-sidedata-2.py Tue Apr 06 05:20:24 2021 +0200
+++ b/tests/testlib/ext-sidedata-2.py Thu Apr 08 19:00:21 2021 +0200
@@ -14,6 +14,7 @@
import struct
from mercurial.revlogutils import sidedata as sidedatamod
+from mercurial.revlogutils import constants
def compute_sidedata_1(repo, revlog, rev, sidedata, text=None):
@@ -35,7 +36,7 @@
def reposetup(ui, repo):
# Sidedata keys happen to be the same as the categories, easier for testing.
- for kind in (b'changelog', b'manifest', b'filelog'):
+ for kind in constants.ALL_KINDS:
repo.register_sidedata_computer(
kind,
sidedatamod.SD_TEST1,