Mercurial > hg
diff hgeditor @ 42480:b6387a65851d stable
cborutil: fix streamencode() to handle subtypes
Otherwise the template filter 'cbor' could crash because of bytes subclass:
ValueError: do not know how to encode
<class 'mercurial.encoding.safelocalstr'>
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 16 Jun 2019 12:31:07 +0900 |
parents | 1aee2ab0f902 |
children |