Mercurial > hg-stable
comparison tests/flagprocessorext.py @ 41435:fad627d2047c
tests: add b'' prefixes to flagprocessorext.py
Otherwise a part of test-flavprocessor.t fails due to not
setting the proper key.
Differential Revision: https://phab.mercurial-scm.org/D5724
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 26 Jan 2019 14:08:35 -0800 |
parents | 9d4f09bfe3ec |
children | 92ac6b1697a7 |
comparison
equal
deleted
inserted
replaced
41434:f5cb822625cc | 41435:fad627d2047c |
---|---|
105 revlog.REVIDX_KNOWN_FLAGS |= util.bitsfrom(flags) | 105 revlog.REVIDX_KNOWN_FLAGS |= util.bitsfrom(flags) |
106 revlog.REVIDX_FLAGS_ORDER.extend(flags) | 106 revlog.REVIDX_FLAGS_ORDER.extend(flags) |
107 | 107 |
108 # Teach exchange to use changegroup 3 | 108 # Teach exchange to use changegroup 3 |
109 for k in exchange._bundlespeccontentopts.keys(): | 109 for k in exchange._bundlespeccontentopts.keys(): |
110 exchange._bundlespeccontentopts[k]["cg.version"] = "03" | 110 exchange._bundlespeccontentopts[k][b"cg.version"] = b"03" |
111 | 111 |
112 # Register flag processors for each extension | 112 # Register flag processors for each extension |
113 revlog.addflagprocessor( | 113 revlog.addflagprocessor( |
114 REVIDX_NOOP, | 114 REVIDX_NOOP, |
115 ( | 115 ( |