[PATCH 2 of 2] templater: relax unquotestring() to fall back to bare string

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Mar 27 00:51:08 EDT 2016



On 03/26/2016 09:07 AM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1458983532 -32400
> #      Sat Mar 26 18:12:12 2016 +0900
> # Node ID 4124288600c9eb8c229bcf98eb6902caf7fbbcad
> # Parent  1c2157434cd147c37a08494ef54d4aa3d5999728
> templater: relax unquotestring() to fall back to bare string
>
> This is convenient for our use case where quotes are optional except in
> a map file.

I've pushed patch 1 (which is a great clean up),

However, I'm not clear about what is the effect of patch 2. Can you give 
an example of what was previously invalid and now is ?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list