Remote Merge
John A Meinel
john at arbash-meinel.com
Thu Oct 27 17:43:59 BST 2005
Nathaniel McCallum wrote:
> Maybe I'm missing a command or something here, but this is what I want
> to do:
>
> bzr branch sftp://my@remote/branch local_branch
> cd local_branch
> <make changes to local branch>
> bzr merge sftp://my@remote/branch
>
>
> Is this possible? This is particularly useful when you have a more
> central branch that multiple people can commit to (ie. an auto-build
> branch).
With your last command, are you trying to merge you changes into the
remote branch, or merge the remote branch changes into the local one?
"bzr merge" is used to pull other changes into the local branch.
The command to push your changes back into a remote branch will be "bzr
push". Right now, there is no built-in command for this. (I don't think
it will make 0.6, but it should make 0.7). There are 2 plugins which
provide for pushing using rsync. I would probably recommend the one in
Aaron Bentley's "bzrtools" plugin.
bzr push (like bzr pull) requires that the branches not have diverged.
So when you push your changes to a published site, that site must not
have changes that the local branch has not seen.
The reason is that we do not intend to support merging into a remote
directory. You can pull the remote changes into the local one, and then
push again after you have merged the changes locally.
Does that make sense?
John
=:->
>
> Nathaniel
>
>
>
-------------- 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/20051027/88de8a5c/attachment.pgp
More information about the bazaar
mailing list