bzr's error message "http does not support mkdir()" should suggest that the user needs to do

Bug #1415405 reported by anatoly techtonik on 2015-01-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

I was trying to propose a fix to Ubuntu core package. I even managed to create pull request https://code.launchpad.net/~techtonik/ubuntu-dev-tools/minor-python3-fix/+merge/247538 but can't edit it, because:

$ bzr checkout https://code.launchpad.net/~techtonik/ubuntu-dev-tools/minor-python3-fix
$ cd minor-python3-fix/
$ vim backportpackage
$ bzr commit
bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/~techtonik/ubuntu-dev-tools/minor-python3-fix/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()

??? The original answer proposed to set username, but I had it set.

$ bzr whoami
anatoly techtonik <email address hidden>

What bzr needs to do after detecting that push over HTTPS is not possible (if that is the case - because it says about http, not HTTPS) is to figure out a write endpoint for the URL and try that instead.

anatoly techtonik (techtonik) wrote :

It is not even push. What's going on?

Jelmer Vernooij (jelmer) wrote :

"bzr checkout" works like in svn; it creates a local branch that is bound to the remote one, so commits go to the remote location (to which you don't have write access).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions