Mercurial > hg
comparison mercurial/linelog.py @ 39956:36e9d2c60837
py3: use system strings for HTTP response header comparison
res.headers is holding system strings. Attempting to compare against
bytes always fails and we fail to print decoded CBOR responses on
Python 3.
After this change, various test-wireproto* tests are now properly
printing CBOR response objects.
Differential Revision: https://phab.mercurial-scm.org/D4835
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 01 Oct 2018 23:11:07 -0700 |
parents | ee97f7a677f3 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
39955:c421c22d3ad2 | 39956:36e9d2c60837 |
---|