[PATCH 5 of 5] py3: convert: user raw strings in all lines

Yuya Nishihara yuya at tcha.org
Tue Oct 11 11:16:21 EDT 2016


On Tue, 11 Oct 2016 15:10:16 +0200, Martijn Pieters wrote:
> On 9 October 2016 at 15:55, Mateusz Kwapich <mitrandir at fb.com> wrote:
> > # HG changeset patch
> > # User Mateusz Kwapich <mitrandir at fb.com>
> > # Date 1476021167 25200
> > #      Sun Oct 09 06:52:47 2016 -0700
> > # Node ID e83253287478676052e7713390983082d04afc6c
> > # Parent  09060ee32a5cd51cdcfa42b23312ca17a11fc713
> > py3: convert: user raw strings in all lines
> 
> This makes each of these strings a sysstr (str on 2 and str on 3). Is that
> the intention? If so, lets make that explicit in the commit message at the
> very least.

Actually we'll need bytes (or make our importer translate r'' to br''), but I
took V2 of this patch since eliminating SyntaxError is a good step towards Py3
support.


More information about the Mercurial-devel mailing list