comparison mercurial/dispatch.py @ 40154:fe11fc7e541f

py3: encode JSON str to bytes json.dumps() will emit UTF-8 str on Python 2 and 3. Use sysbytes to force the .encode('utf-8') on Python 3 and no-op on Python 2. Differential Revision: https://phab.mercurial-scm.org/D4965
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 11 Oct 2018 21:18:58 +0200
parents 24e493ec2229
children 106adc261492
comparison
equal deleted inserted replaced
40153:0ae20d2141ed 40154:fe11fc7e541f