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

Alexander Plavin alexander at plav.in
Tue Aug 20 06:31:36 CDT 2013



20.08.2013, 06:03, "Kevin Bullock" <kbullock+mercurial at ringworld.org>:
> 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?

Not sure if it's possible in revsets, but will explore (or you know about this?).

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


More information about the Mercurial-devel mailing list