Comment 4 for bug 45599

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

On Fri, 2007-05-04 at 13:08 +0000, Aaron Bentley wrote:
>
> 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.)

FWIW I dont tend to do or encourage this because it requires memorising
ones repo boundaries.

> '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".'

I like this message.

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

Yes, that sounds good to me.

-Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.