Comment 3 for bug 45599

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 45599] Re: "no repository present" error should suggest using bzr branch

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

John A Meinel wrote:
> At present the error is:
> bzr: ERROR: No repository present: 'file:///Users/jameinel/test-hgrep/'
>
> Are you thinking to change that to:
> bzr: ERROR: No repository present: 'file:///Users/jameinel/test-hgrep/'
> This usually means a branch was moved or copied manually, rather than using 'bzr branch'.

It would be nice if the message didn't imply that copying or moving
branches manually was *always* bad. (Moving or copying manually
*inside* the repo is encouraged.)

'This branch has no repository: "/Users/jameinel/test-hgrep". It may
have been moved or copied outside its repository manually, rather than
using "bzr branch".'

(You'll note that I refer to the branch; I'm thinking we should catch
NoRepositoryPresent and throw a customized message)

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

iD8DBQFGOzA90F+nu1YWqI0RAgYcAJ40Z8FKpc8aTucSQHGTAty0MiGXmACeLXTb
vMq7hbwtl7bVYmI0thEHNPE=
=PUzA
-----END PGP SIGNATURE-----