Reconfigure (was Re: [RFC] Vanilla checkouts in 2.2)

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Fri Jan 15 11:26:04 GMT 2010


On Tuesday 12 January 2010 11:33:00 Matthew D. Fuller wrote:
> On Tue, Jan 12, 2010 at 11:07:23PM +1300 I heard the voice of
>
> Aaron Bentley, and lo! it spake thus:
> > In fact, one of the points of reconfigure is to replace bind/unbind
> > and other similar manipulations with a single command.
>
> One shortcoming of reconfigure vs [un]bind (and similar
> transformations, e.g. remove-tree/checkout) is that it specifies a
> state rather than a transformation.  It's a `chmod 0775`, not a `chmod
> g+w`.  Sometimes one is more convenient than the other, so I do think
> we need both.
>
> That isn't to say that one should be all options/subcommands on one
> command, and the other scattered across a dozen commands, to be sure.
> But on first blush, I'm a little leery of having both as options on
> one command; it gets a little cluttered and overloaded.

I don't think anyone's saying [un]bind should be removed just that the meaning 
and implementation of checkout could be changed so that checkout = wt + cache 
(instead of wt + bound branch).  And since that cache could contain enough 
data to be able to transform it into a full branch, there should be a command 
that does that.  Reconfigure makes sense for that, IMO.  I mean, what would 
unbind mean for that meaning/implementation of checkout?

However this leads to another question.  Checkout currently also means 'create 
working tree for a tree-less branch', would that change?  How do you see that 
fit?


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




More information about the bazaar mailing list