diff tests/flagprocessorext.py @ 37165:6c7a6b04b274

bundlespec: move computing the bundle contentops in parsebundlespec We will introduce a new bundlespec for stream bundle which will influence the contentops. Differential Revision: https://phab.mercurial-scm.org/D1952
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Mar 2018 12:43:57 +0200
parents 83246d6920f2
children 9d4f09bfe3ec
line wrap: on
line diff
--- a/tests/flagprocessorext.py	Fri Mar 30 12:43:08 2018 +0200
+++ b/tests/flagprocessorext.py	Fri Mar 30 12:43:57 2018 +0200
@@ -105,8 +105,8 @@
     revlog.REVIDX_FLAGS_ORDER.extend(flags)
 
     # Teach exchange to use changegroup 3
-    for k in exchange._bundlespeccgversions.keys():
-        exchange._bundlespeccgversions[k] = b'03'
+    for k in exchange._bundlespeccontentopts.keys():
+        exchange._bundlespeccontentopts[k]["cg.version"] = "03"
 
     # Add wrappers for addrevision, responsible to set flags depending on the
     # revision data contents.