[PATCH 6 of 6 py3] ui: fix configlist on Python 3

Yuya Nishihara yuya at tcha.org
Sun Mar 5 01:36:05 EST 2017


On Fri, 03 Mar 2017 14:30:09 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1488568206 18000
> #      Fri Mar 03 14:10:06 2017 -0500
> # Node ID bcec46d842ea6b75a899427d53a4ed585b7a7058
> # Parent  168a2acc512f0dbcc9d1469ae97ea4226fc18243
> ui: fix configlist on Python 3
> 
> Since we're working on bytestrings, we have to use [offset:offset+1]
> to get consistent behavior on Python 2 and 3. I've only tested the
> _parse_plain closure, not the _parse_quote one, but I have no real
> reason to expect the latter to be broken since the fixes were fairly
> mechanical.

Looks good, queued this, thanks.


More information about the Mercurial-devel mailing list