[PATCH 7 of 9 py3] branchmap: don't use buffer() on Python 3

Pulkit Goyal 7895pulkit at gmail.com
Sun Mar 12 13:31:56 EDT 2017


On Sun, Mar 12, 2017 at 10:52 PM, Augie Fackler <raf at durin42.com> wrote:

> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1489297759 18000
> #      Sun Mar 12 00:49:19 2017 -0500
> # Node ID 062d30be868aad888f8d2e51d65999cb8c94b81a
> # Parent  b9d20b6e86e011db2a11abccc26250c7a83e8aac
> branchmap: don't use buffer() on Python 3
>
> This is certainly slower than the Python 2 code, but it works, and we
> can revisit it later if it's a problem.
>
> ​We can use util.buffer which supports Python 3 instead.​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170312/d02769a3/attachment.html>


More information about the Mercurial-devel mailing list