D5724: tests: add b'' prefixes to flagprocessorext.py
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Jan 26 22:34:09 UTC 2019
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Otherwise a part of test-flavprocessor.t fails due to not
setting the proper key.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5724
AFFECTED FILES
tests/flagprocessorext.py
CHANGE DETAILS
diff --git a/tests/flagprocessorext.py b/tests/flagprocessorext.py
--- a/tests/flagprocessorext.py
+++ b/tests/flagprocessorext.py
@@ -107,7 +107,7 @@
# Teach exchange to use changegroup 3
for k in exchange._bundlespeccontentopts.keys():
- exchange._bundlespeccontentopts[k]["cg.version"] = "03"
+ exchange._bundlespeccontentopts[k][b"cg.version"] = b"03"
# Register flag processors for each extension
revlog.addflagprocessor(
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list