bzrtools- cbranch sets parent

John Arbash Meinel john at arbash-meinel.com
Fri Jul 21 17:04:51 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley wrote:
> John Arbash Meinel wrote:
>>>>> Oh, you're using cbranch with heavyweight checkouts?  This isn't
>>>>> something I've tried.
>>> With your setup, does cbranch create an entry in your local repo as well
>>> as the public repo, and then create a lightweight checkout in your
>>> working dirs. Or how do you use it?
> 
> With my setup, cbranch only affects my local repo, but my public repo is
> a mirror of my local repo.

As in you do an 'rsync' to mirror it? I think that is the big difference
between us. I would not use rsync to mirror my local repo, because it
*is* full of all kinds of cruft.

But thankfully, bzr handles pushing just what I want. And, it means I
can do this on lots of machines, and have them all feed into the same
location.

I suppose you could also have a plugin which just detects what is in the
local repo, and synchronizes with the remote one. But that could work
with either of our situations.

> 
>>> Well, we should probably canonicalize from_location, and use
>>> 'set_submit_branch' if we are going to do it :) (I hadn't actually
>>> tested it).
>>>
>>> But the more I think about it, the more 'set_parent()' makes more sense.
>>> Because for a feature branch, you may want to pull/merge from the one
>>> you branched off of.
>>>
>>> The attached patch gets it right. (And has been tested).
> 
> Thanks.  Applied.
> 
> Aaron

Thanks.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEwPsjJdeBCYSNAAMRAsiHAJ9SacUxhGIsSdOjVktj8G3tmXFmrQCfcLNb
Pa7yQZ4tCyZjfBkp6OdXYN0=
=Ds8G
-----END PGP SIGNATURE-----




More information about the bazaar mailing list