creating checkouts, bound branches and standalone branches from an existing branch
John A Meinel
john at arbash-meinel.com
Wed Feb 15 14:57:08 GMT 2006
Jan Hudec wrote:
> On Wed, Feb 15, 2006 at 18:08:32 +1100, Robert Collins wrote:
>> On Tue, 2006-02-14 at 11:55 -0600, John A Meinel wrote:
...
>
> I like the 'local/full' approach better. I think it's better to be
> explicit in this. Besides it might be useful to pretend you are offline
> when you are not. And waiting for the remote access to time-out may not
> be pleasant either.
This can be done today with a regular standalone branch. And using "bzr
commit" and "bzr push".
>
> Perhaps there would be a --local (-L) option, that would make the branch
> behave as unbound for one operation. (All operations that are affected
> by bound branches should have it. Are there any other than comit?)
>
>> The crucial points both approachs I favour (automatic offline, and local
>> vs full commits) are that :
>> * people dont need to juggle branches around to get the correct 'left
>> most parent' when committing to the mainline, and when updating along
>> the shared branch
>
> IMHO there should be a merge --swap-parents to do that. Or maybe update
> on unbound branch would do that (it's a straigthforward generalization
> of what it does on a bound one, after all). Because often you want to do
> that even with an unbound branch.
I'm not sure if --swap-parents is the best word for it. Maybe
'--reparent'. I understand the idea of "merge me into them on my local
branch". So that when you are done, you are merged, and you see the
remote ancestry.
I agree we want it, I'm not sure what the option should be named. Or how
to convey the information in a simple way.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060215/c9a1aa43/attachment.pgp
More information about the bazaar
mailing list