[PATCH] fix: use templater to substitute values in command string

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Apr 18 09:39:50 EDT 2018


> On Apr 14, 2018, at 00:25, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1523633439 -32400
> #      Sat Apr 14 00:30:39 2018 +0900
> # Node ID c11220384fc8e9bea55193401835a60d241c372f
> # Parent  611a3c98d1b68836b5725a0d97c0ae1f0b3677f6
> fix: use templater to substitute values in command string
> 
> bytes.format() isn't supported on Python 3. Luckily, our template syntax
> is similar so we can reuse it. We need a hack to disable \-escapes as '\'
> is a directory separator on Windows.

It's quite the hack ;) But I'll take it. Queued.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list