[PATCH] localrepo: use node.hex instead of awkward .encode('latin1')
Martin von Zweigbergk
martinvonz at google.com
Mon Mar 20 23:38:16 EDT 2017
On Mon, Mar 20, 2017 at 7:07 PM, Augie Fackler <raf at durin42.com> wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1490062017 14400
> # Mon Mar 20 22:06:57 2017 -0400
> # Node ID f42ec07db6a995d972fee8ce2a7fb122c5372109
> # Parent 23fc9b98445fac79d216570017227673b2492347
> localrepo: use node.hex instead of awkward .encode('latin1')
Queued, thanks.
Even more embarrassingly, I thought of using .digest(), but couldn't
think of a way of converting it to hex bytes :-P
>
> Spotted as an option by Yuya. Thanks!
Yep, thanks :-)
More information about the Mercurial-devel
mailing list