Mercurial > hg
diff hgdemandimport/demandimportpy2.py @ 41403:e82288a9556c
wireprotov2server: use our JSON encoder
Python's json module doesn't like to encode bytes instances.
This makes this code difficult to work with Python 3.
We simply swap in Mercurial's JSON encoder to work around it.
Differential Revision: https://phab.mercurial-scm.org/D5712
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 26 Jan 2019 10:00:17 -0800 |
parents | 574e1d3bc667 |
children | 2372284d9457 |