[PATCH 2 of 2 v2] match: use re2 in readpatternfile if possible

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Dec 11 10:15:36 CST 2015



On 12/11/2015 05:34 AM, Bryan O'Sullivan wrote:
> # HG changeset patch
> # User Bryan O'Sullivan <bos at serpentine.com>
> # Date 1449812035 28800
> #      Thu Dec 10 21:33:55 2015 -0800
> # Node ID 18f300e9ca45cdae3575d1860251929abf07b42c
> # Parent  dea2f8f8a033c13083fe04609bf014b2f58dfcf3
> match: use re2 in readpatternfile if possible

This is pushed to the clowncopter, thanks.

On slightly related topic, I would be open to some kind of devel-warning 
for optimized option (like using re2) being unavailable.

I'm saying "some kind" because this is probably not suitable for the 
main class of warning turned on by "devel.all-warnings=true". But still 
fit into "some warning  you want to be able to issue to some category of 
user so that error does not pass silently.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list