Bound branch implementation

Robert Collins robertc at robertcollins.net
Sun Nov 13 18:02:56 GMT 2005


On Sat, 2005-11-12 at 22:04 -0600, John A Meinel wrote:
...
> $ bzr get --bound /path/to/other/branch local_branch
> $ cd local_branch
> <hack hack>
> $ bzr commit -m "Added a new feature"
> # At this point, the remote branch will be updated with
> # the same commit
> <hack some more>
> # Someone commits to /path/to/other/branch in the meantime
> $ bzr commit -m "Another new feature"
> bzr: ERROR: Remote branch has been updated, use bzr pull to update
> $ bzr pull
> # Review new changes to tree

The more I think about it, the more I feel that 
$ bzr pull
in a bound branch should pull from the location of parent in the
bound-to branch, and we should be using 
$ bzr update
for both checkouts and bound branches to 'get stuff from the centralised
branch'.


Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051114/c040063e/attachment.pgp 


More information about the bazaar mailing list