How to switch a checkout of a bound branch
Stefan Monnier
monnier at iro.umontreal.ca
Mon Mar 29 02:19:30 BST 2010
If I do:
bzr branch --bind --no-tree somewhere/foo
bzr branch --bind --no-tree somewhere/bar
bzr co --lightweight foo baz
cd baz
bzr switch bar
Bzr tries to switch my `foo' branch to bind to somewhere/bar, rather
than try to switch my `baz' checkout to point to my `bar' branch.
This is rather unexpected and annoying.
The only way around it I've found is to do:
(cd ../foo; bzr unbind)
bzr switch bar
(cd ../foo; bzr bind)
which is very inconvenient. Is that done on purpose?
Stefan
More information about the bazaar
mailing list