[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Suggestion: Use wildcards for specifying collection
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections |
Date: |
Fri, 15 Apr 2005 09:41:55 +0200 (CEST) |
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($|.+)'
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
- [Monotone-devel] Suggestion: Use wildcards for specifying collections, Florian Weimer, 2005/04/10
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Nathaniel Smith, 2005/04/15
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections,
Richard Levitte - VMS Whacker <=
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Nathaniel Smith, 2005/04/15
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Jon Bright, 2005/04/15
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Nathaniel Smith, 2005/04/15
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Jon Bright, 2005/04/15
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Nathaniel Smith, 2005/04/16
- Re: [Monotone-devel] Suggestion: Use wildcards for specifying collections, Richard Levitte - VMS Whacker, 2005/04/15