[MERGE] Make pull more forgiving of its location

Aaron Bentley aaron.bentley at utoronto.ca
Tue Oct 30 17:41:23 GMT 2007


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

Robert Collins wrote:
> I have some UI concerns here.

I have a similar concern:
$ cd bzr.ab.integration
$ cd bzrlib
$ bzr pull ../bzr.dev
bzr: ERROR: Not a branch: "/home/abentley/bzr/bzr.ab.integration/bzr.dev/".

This is IMHO a useful error-- it tells me that I've just goofed and
tried to pull from something that's not a branch root.

If it opens bzr.ab.integration instead, the errors will be much more
cryptic.  I've already encountered this somewhat with "merge", but merge
may refer to a file, so it makes sense to use open_containing.

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

iD8DBQFHJ2zD0F+nu1YWqI0RAn4TAJ4r9W+FkHSlOg9bD8IyfO+S7IvMNACePc4L
U1kYsnVfMy8Y8mPQXeQvYuw=
=8vmI
-----END PGP SIGNATURE-----



More information about the bazaar mailing list