monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Excluding branches with shell patterns


From: Matthew A. Nicholson
Subject: Re: [Monotone-devel] Excluding branches with shell patterns
Date: Thu, 07 Jul 2005 11:10:37 -0500
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Timothy Brownawell wrote:
On Thu, 2005-07-07 at 11:47 +0200, Peter Simons wrote:

Nathaniel Smith writes:

>> |   pull [ADDRESS[:PORTNUMBER] [PATTERN]]

> It's a shell pattern. (It was a regex for a while during
> development, so it's an outdated message.)

One feature I depended on is the ability to negate matches.
With (Boost's) regular expressions, I could say

 foo\.(?!bar)\.*

to match, say "foo.abc", but not "foo.bar". How do I do this
with shell patterns now?


I don't think you can. There seems to be some code for specifying
excluded patterns, but it's not complete.

Tim

One way to do it is to just specfiy the branches you want. So in your case you would just do foo.abc.


--
Matthew A. Nicholson
Digium




reply via email to

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