[PATCH 1 of 2] revset: add descs() function which searches for individual words

Kevin Bullock kbullock+mercurial at ringworld.org
Mon Aug 19 21:03:21 CDT 2013


On 5 Aug 2013, at 4:20 PM, Alexander Plavin wrote:

> # HG changeset patch
> # User Alexander Plavin <alexander at plav.in>
> # Date 1375736748 -14400
> #      Tue Aug 06 01:05:48 2013 +0400
> # Node ID bac960d92a8f2d6fd2f833ab041ffe386c76967d
> # Parent  ecb8e32e765eaf8e2df8d6535be6ca66275ca0df
> revset: add descs() function which searches for individual words
> 
> This function provides a more convenient way to express a conjunction of
> multiple desc() calls.

I'm less keen on this one than the equivalent keywords() in the 2nd patch -- the name is just too unnatural. What about making desc() and keyword() (and others?) optionally take multiple strings?

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



More information about the Mercurial-devel mailing list