[PATCH] templater: do not strip non-quote characters from template config

Sean Farley sean at farley.io
Tue Mar 29 16:09:30 EDT 2016


Yuya Nishihara <yuya at tcha.org> writes:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1459068139 -32400
> #      Sun Mar 27 17:42:19 2016 +0900
> # Node ID b106317fea11feb11986aefadfbedc0f98efdf25
> # Parent  c4b727795d6a5770ec523c1965b464baed81097f
> templater: do not strip non-quote characters from template config
>
> Before this patch, the first and last characters were stripped from
> ui.logtemplate and template.* if they were the same. It could lead to a
> strange result as quotes are optional. See the test for example.

Looks good to me.


More information about the Mercurial-devel mailing list