2009-03-10 02:09:48 |
Jonathan Lange |
description |
Just reported on #bzr:
$ bzr push bzr+ssh://jetsaredim@bazaar.launchpad.net/~jetsaredim/mplayerplug-in
bzr: ERROR: Generic bzr smart protocol error: Permission denied: "This method is only for creating branches: /~jetsaredim/mplayerplug-in"
The fact that an error occurred is correct, but the message isn't particularly clear.
That error doesn't seem designed for users. It's talking about "This method", which is really talking about implementation details the user is hopefully ignorant of, and it doesn't really explain the problem or solution. I think "You cannot create a branch at ~jetsaredim/mplayerplug-in. Branches must be located at ~USER/PROJECT/BRANCH." would be much better. |
If there is a default stacked-on branch:
$ bzr push bzr+ssh://bazaar.launchpad.net/~jml/testtools
bzr: ERROR: At bzr+ssh://bazaar.launchpad.net/~jml/testtools you have a valid .bzr control directory, but not a branch or repository. This is an unsupported configuration. Please move the target directory out of the way and try again.
HPSS calls: 7 <bzrlib.smart.medium.SmartSSHClientMedium object at 0x30ffbd0>
Or if there is no default stacked-on branch:
$ bzr push bzr+ssh://bazaar.launchpad.net/~jml/launchpad-bazaar
bzr: ERROR: Permission denied: "/~jml/launchpad-bazaar": : Cannot create branch at '/~jml/launchpad-bazaar'
Ideally, Launchpad would provide an error message that directs the user to push to ~USER/PROJECT/BRANCH |
|