[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] UI to push/pull/sync
From: |
Derek Scherger |
Subject: |
Re: [Monotone-devel] UI to push/pull/sync |
Date: |
Tue, 21 Jun 2005 20:16:28 -0600 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050403) |
Nathaniel Smith wrote:
> Currently, on mainline, push/pull/sync have been changed to take a
> regular expression instead of a collection -- collections don't exist
> anymore. Functionally, this is great; UI-wise, I'm wondering how cool
> it really is to be typing "net\.venge\.monotone(|\..*)" or whatever?
> Would it be better to have a UI that took any number of globs, and
> used those? So like:
> $ monotone pull net.venge.monotone net.venge.monotone.*
> would be equivalent to the above regexp; and
> $ monotone pull net.venge.monotone*
> would be equivalent to the current net.venge.monotone collection?
My vote would be in favour of simpler-to-type globbing.
> Maybe with a --regexp switch that switches it over to being
> interpreted as a regexp, for the cases when you want that?
I actually kinda liked the early regex code that took an unadorned
string as a simple collection and a /string/ as a regex. Persumably now
the unadorned string could be taken as a glob instead of a collection
prefix.
Cheers,
Derek