[PATCH 5 of 5] node: use byte literals to construct nullid and wdirid

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Mar 14 10:09:06 EDT 2016



On 03/12/2016 10:11 PM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1457820297 28800
> #      Sat Mar 12 14:04:57 2016 -0800
> # Node ID 940317310320cb10e213ed4b86ffa48e613ad1e3
> # Parent  aef0dc67d0a122bccb66e1ba4ecec4c4ff2324ee
> 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.

The rest of the series looks good to me, but I would like patch 2 
updated to mention the fact the new flag is temporary on site.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list