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

Martin Pool mbp at sourcefrog.net
Tue Mar 21 11:17:54 GMT 2006


On 19 Mar 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> True checkouts and bound branches are very similar in the UI, and we've
> tried to have them exhibit the same behavior wherever it makes sense.
> 
> But since they are implemented quite differently, they exhibit different
> bugs and require different code paths to get the same behavior.
> 
> I'd like to propose that checkouts have a special proxy branch, a
> CheckoutBranch, whose revision-history operations differ from the
> proxied branch.  CheckoutBranch.get_bound_location and
> CheckoutBranch.get_master_branch would both refer to the proxied branch.
> ~ CheckoutBranch.unbind and CheckoutBranch.bind would throw.
> Aside from this, all other operations would pass through to the proxied
> branch.

This sounds reasonable to me.
-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060321/11e2623c/attachment.pgp 


More information about the bazaar mailing list