diff mercurial/streamclone.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 ed75909c4c67
children f32f8bf5dc4c
line wrap: on
line diff