Probably bug: run `bzr bind` in already bound branch and got misleading error message

Aaron Bentley aaron.bentley at utoronto.ca
Tue Nov 13 13:53:43 GMT 2007


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

Alexander Belchenko wrote:
> Run bzr bind in already bound branch:
> 
> bzr: ERROR: No location supplied and no previous location known
> 
> IMO the error message is incorrect here, because "previous location" is
> actually known.

No, I don't think so.

$ bzr init foo
$ cd foo
$ bzr bind ~/bzr/bzr.dev
$ bzr unbind
$ bzr bind
$

If a previously-bound location is known, Bazaar will use it.  If it's
not known, then bzr bind will give the error you saw.  Note that only
branch format 6 can remember a previously-bound location.

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

iD8DBQFHOaxn0F+nu1YWqI0RAv46AJ9tMikixFAtjE84cgtY2pDegu2r2wCff8bQ
xX2zXc3pNM4ShBTXjZVJ+qg=
=P6Tk
-----END PGP SIGNATURE-----



More information about the bazaar mailing list