monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Extended selectors


From: Ludovic Brenta
Subject: Re: [Monotone-devel] Extended selectors
Date: Fri, 04 Jun 2010 11:15:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Timothy Brownawell writes:
> I have a branch net.venge.monotone.extended-selectors that allows
> selectors to use graph operations, and be combined with 'or' as well
> as 'and'.
> 
> It allows things like for example
>     mtn diff -r 'lca(h:*extended-selectors;h:net.venge.monotone)' -r 
> h:*extended-selectors

Great! This has been a personal request of mine for years, see
https://savannah.nongnu.org/bugs/?18302

> The additional things you can do with selectors are:
>    foo|bar|baz

I would prefer another character; the pipe needs quoting in most
shells. Maybe ^?

>       'or' (to go with the foo/bar/baz 'and' we already have)
>    (foo|bar)/(baz|qux)
>       grouping parentheses, directly mixing '/' and '|' is actually
>       forbidden so you can't get confused about what it will do

Great; just like in Ada!

Thanks a lot for all your hard work.

-- 
Ludovic Brenta.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]