comparison mercurial/httppeer.py @ 28585:a3f3fdac8433

node: use byte literals to construct nullid and wdirid Python 3's hex() insists on operating on bytes. This patch gives it what it wants. '' and b'' in Python 2 are equivalent, so this has no impact on Python 2.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 Mar 2016 14:04:57 -0800
parents fd2acc5046f6
children ae53ecc47414
comparison
equal deleted inserted replaced
28584:d69172ddfdca 28585:a3f3fdac8433