monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] UI to push/pull/sync


From: Ethan Blanton
Subject: Re: [Monotone-devel] UI to push/pull/sync
Date: Tue, 21 Jun 2005 11:07:21 -0500
User-agent: Mutt/1.4.1i

Nathaniel Smith spake unto us the following wisdom:
> 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?

I  think this is a good idea.  Globbing is simple and well-understood by
even those with a limited understanding of regular expressions,  and  it
doesn't require nearly as much escaping in the usual case.

> Maybe with a --regexp switch that switches it over to being
> interpreted as a regexp, for the cases when you want that?

I'm  not  even  sure this is all that useful; I can't see any particular
reason *not* to include it, but I can't see  any  particular  reason  to
include it, either.

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
                -- Cesare Beccaria, "On Crimes and Punishments", 1764

Attachment: pgpdqPKfiARth.pgp
Description: PGP signature


reply via email to

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