[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, 24 Jun 2005 13:15:10 -0700 |
User-agent: |
Mutt/1.5.9i |
On Fri, Jun 24, 2005 at 05:58:07PM +0200, Peter Simons wrote:
> Hi,
>
> I recall that someone wrote a script that allowed you to
> perform "branch renaming" by automatically issuing new
> certificates for ever revision. Does that script still exist
> (and still work)? Where can I find it? Would it be possible
> to add it to the contrib/ directory in the repository?
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".
-- Nathaniel
--
"On arrival in my ward I was immediately served with lunch. `This is
what you ordered yesterday.' I pointed out that I had just arrived,
only to be told: `This is what your bed ordered.'"
-- Letter to the Editor, The Times, September 2000