[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Renaming branches -- where is the script?
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Renaming branches -- where is the script? |
Date: |
Fri, 1 Jul 2005 00:59:58 -0700 |
User-agent: |
Mutt/1.5.9i |
On Sat, Jun 25, 2005 at 01:01:44PM -0500, Brian Downing wrote:
> On Fri, Jun 24, 2005 at 01:15:10PM -0700, Nathaniel Smith wrote:
> > If someone were to fix the b: selector (as described at
> > http://venge.net/monotone/quickies.html, last item), then this would
> > just be
> > $ for R in `monotone automate select b:badbranch`
> > > do monotone cert $R branch goodbranch; done
> > ATM though this will not do what you want if there are any branches
> > named badbranchfoo, since b:badbranch will match any branch whose name
> > begins with "badbranch".
>
> Attached is a quick fix for this. The 'b:' selector is an explicit glob
> now - "b:net.venge.monotone" gets only the net.venge.monotone branch,
> "b:*net.venge.monotone*" gets the ol behavior.
>
> Behavior for the other selectors shouldn't have changed. However, their
> behavior was not as documented. Most are doing a '*%s*' glob search
> ("b:ge.monotone.gu" would find the net.venge.monotone.gui branch), even
> though the documentation implied that it was a '%s*' search.
Could you add docs/tests for this change and re-submit?
Hmm, it would probably also make sense for t: and c: to work this way,
maybe others too...
-- Nathaniel
--
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould
- Re: [Monotone-devel] Renaming branches -- where is the script?,
Nathaniel Smith <=