[MERGE] `bzr switch` now finds the sibling of the bound branch of a heavy checkout when passed a location that does not immediately resolve to a branch.

Adrian Wilkins adrian.wilkins at gmail.com
Mon Aug 4 15:44:29 BST 2008


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


A small change ; bzr switch did not follow my expectations of behaviour
after reading the help, with heavy checkouts.

Instead of looking for a sibling of the bound branch, it looks for a
sibling of the checkout itself. This is a divergence from it's behaviour
for lightweight checkouts, where it looks for a sibling of the bound branch.

First revision tests it, second revision fixes it.

While this does stop switch from finding siblings of heavyweight
checkouts intentionally, I'd not interpret that as being the intention
of the feature (and it's very easy to type ../ , not so easy to get the
bound branch location from bzr info, copy the URI, and
infer the sibling location).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIlxWlcP1uebIhWSYRAo8kAJ9H0nKfttFEcd9WB7nY0O9qDxVlygCfYLhB
65mk3hOyUmr4eY9+XZVyo44=
=GkJX
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr-switch_heavy_checkout_siblings-3604.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080804/0d2ec2cd/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-switch_heavy_checkout_siblings-3604.patch.sig
Type: application/octet-stream
Size: 64 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080804/0d2ec2cd/attachment-0001.obj 


More information about the bazaar mailing list