[RFC] make checkouts as much like bound branches as possible

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 28 17:27:28 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olaf Conradi wrote:
> On 28/03/06, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> 
>>Olaf Conradi wrote:

>>>A lightweight checkout with a bound branch has the benefit of
>>>unbinding and taking your laptop offline, as the lightweight checkouts
>>>were part of a local shared repository.
>>
>>So this is:
>>A bound branch at ~/bound-branch
>>A lightweight checkout of ~/bound-branch at ~/checkout
> 
> 
> No, the lightweight checkout is the same as the bound branch
> 
> ~/checkout $ bzr --bind http://blabla

This command will cause the lightweight checkout's branch to be bound.
The branch of a lightweight checkout is never at the same location as
the checkout, by definition.  Where is it?

>>So you are against double-binding as it applies to bound branches, but
>>you are for double-binding as it applies to lightweight checkouts?
> 
> 
> I am saying that any type of branch should have the option to bind
> against some other tree. Just as it has the option to specify a parent
> and push location.

Okay.  This implies that it should be possible to bind a branch that is
the master of a bound branch, i.e. double-binding.

> That the only difference between a lightweight checkout and a normal
> checkout (or bound branch - whatever one prefers) is the location of
> the revisions. In the same .bzrdir or in some shared repository.

Okay, so you're in favour of my proposal then?
> 
> Just like we have now.

There are currently major differences between lightweight checkouts and
bound branches, both in the API and in the UI, so that contradicts your
earlier statement.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEKWPw0F+nu1YWqI0RAv1mAJ9yMFabRV+PEhTHAGDfC8zVFQkbnACfRBau
kC8tJwa8xQWy65BzISrNABA=
=jerL
-----END PGP SIGNATURE-----




More information about the bazaar mailing list