monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Suggestion: Use wildcards for specifying collection


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections
Date: Fri, 15 Apr 2005 02:03:28 -0700
User-agent: Mutt/1.5.8i

On Fri, Apr 15, 2005 at 09:41:55AM +0200, Richard Levitte - VMS Whacker wrote:
> In message <address@hidden> on Thu, 14 Apr 2005 22:10:26 -0700, Nathaniel 
> Smith <address@hidden> said:
> 
> njs> As in incremental improvement, it might be interesting to keep the
> njs> current collection code while switching to pattern-matched branch
> njs> specifications for collections, but it seems a little user-hostile to
> njs> tell people that they must type exactly "pull venge.net
> njs> net\.venge\.monotone($|.+)" or else their collection won't match
> njs> anything in the server's list of offered collections...
> 
> Hmm, a different idea is to offer globbing AND regexps.  Regexps being
> for "more advanced" users could require adding the no-argument option
> --regexp or --re, basically telling monotone what to expect.
> Something like this:
> 
>       monotone --regexp pull host 'net\.venge\.monotone($|.+)'

I think if we did that it would be as a UI trick only, and convert to
some preferred form internally.  Netsync itself should only support
one (and I guess if we wanted to support regexes at all, that one had
better be regex, since they're way more expressive than globs...)

-- Nathaniel

-- 
.i dei jitfa fanmo xatra




reply via email to

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