tests/flagprocessorext.py
changeset 45784 74271829ddc0
parent 43076 2372284d9457
child 45942 89a2afe31e82
--- a/tests/flagprocessorext.py	Wed Jul 01 15:14:59 2020 +0530
+++ b/tests/flagprocessorext.py	Thu Oct 15 15:57:36 2020 +0200
@@ -6,8 +6,8 @@
 import zlib
 
 from mercurial import (
+    bundlecaches,
     changegroup,
-    exchange,
     extensions,
     revlog,
     util,
@@ -134,8 +134,8 @@
     revlog.REVIDX_FLAGS_ORDER.extend(flags)
 
     # Teach exchange to use changegroup 3
-    for k in exchange._bundlespeccontentopts.keys():
-        exchange._bundlespeccontentopts[k][b"cg.version"] = b"03"
+    for k in bundlecaches._bundlespeccontentopts.keys():
+        bundlecaches._bundlespeccontentopts[k][b"cg.version"] = b"03"
 
     # Register flag processors for each extension
     flagutil.addflagprocessor(