[RFC] make checkouts as much like bound branches as possible

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 28 18:06:39 BST 2006


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

Olaf Conradi wrote:
> I thought the double binding already worked for lightweight checkouts..
> I assumed the new change would go to both the new bound location and
> the shared repository of the checkout.

So, if you have
~/repo/bzr.dev <- repository branch
~/checkouts/bzr.dev <- lightweight checkout

If you do
$ cd ~/checkouts/bzr.dev
$ bzr bind http://bazaar-vcs.org/bzr/bzr.dev

That will bind ~/repo/bzr.dev to http://bazaar-vcs.org/bzr/bzr.dev

Since this is http, you won't be able to commit, but you generally don't
want to commit to bzr.dev-- you want to commit to branches of it.

> Just tested it by binding a lightweight checkout and committing, the
> update only appeared in the bound branch, not repo.

I am not sure what you mean.  It should update the branch you checked
out from, and the branch you bound to.

> I tested the
> binding and commiting before, but somehow missed that it did not
> update the repo.

> Jup :)

Yay!

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEKW0f0F+nu1YWqI0RAvL1AJ421W24lpXbgbA9GJD9kGwSkqMgMACfW/BP
OlnJGn+liUuOkQrQgkJjEck=
=AZui
-----END PGP SIGNATURE-----




More information about the bazaar mailing list