[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] new branch expansion hook
From: |
Derek Scherger |
Subject: |
Re: [Monotone-devel] new branch expansion hook |
Date: |
Wed, 05 Sep 2007 19:13:09 -0600 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070805) |
On Wed, Sep 05, 2007 at 04:14:31AM -0700, Nathaniel Smith wrote:
> Agreed on the set part.
>
> Re: suspend certs, does leaving out suspended branches mean that it is
> impossible to name those branches, even explicitly? Taking branches
> out of the 'ls branches' clutter is one thing, making it impossible to
> check them out by name at all seems problematic...
In theory it should honor the --ignore-suspend-certs option so that
shouldn't be a problem. I'm wondering what it'll do when you go to
create a new branch that it can't find though and also what it might do
with a fully qualified branch. This will depend on the hook
implementation somewhat but returning an empty set will cause it to fail
at the moment.
> I don't understand. Presumably it would be up to the hook whether it
> interprets the pattern as a glob or not?
Yeah, just the type of the "pattern" parameter in the lua hook's C++
interface is "branch_name" rather than "globish" and I'm not sure if
this would fail in ATOMIC's verify somewhere in some cases.
Really, I just finally got fed up with typing in long branch names all
the time and decided I should do something about it.
Cheers,
Derek