Is it possible to pull bundles, not only merge them?
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 15 20:01:54 BST 2006
Alexander Belchenko wrote:
> Is it possible to pull in bundles patch? Now any allowed operations for
> bundles is merge into.
>
> Use case: I have the branch that mirrors another branch from remote
> machine, and I don't have any other way to get latest changes from
> remote side only as bundle patch via e-mail. I want to mirror remote
> branch with newest incoming bundles. How to do this?
>
> I suppose that operations chain like:
>
> $ bzr merge bundle
> $ bzr ci
> $ bzr pull . -r revid:last_id_from_bundle
>
> should work. (But I'm not tested it yet).
>
> But may be it possible to shorten this case by allowing direct pull from
> bundle file if bzr see that branches is not diverged?
> What you think about this use case?
>
> --
> Alexander
Well, I've actually done:
bzr merge bundle
bzr revert
bzr pull -r revid:last_id_from_bundle --overwrite .
Which is how I made a mirror of your changes.
I agree, though, that doing:
bzr pull bundle
Is nicer when you want to work in that format.
How about I go refactor the bundle stuff so that it can take a
Transport, and create a convenience function that both merge and pull
can use.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060615/64ff5427/attachment.pgp
More information about the bazaar
mailing list