New launchpad policy to store parent URL as %2Bbranch breaks smart creation of default URL for qpush
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Fix Released
|
High
|
Alexander Belchenko |
Bug Description
We have to find the way to workaround this inside QBzr.
If you get a branch from launchpad and then create separate local branch from that mirro to work on some changes to project and then you try to push your changes back, qpush trying to suggest you new URL based on the name of your new branch and the parent of the mirror. But now launchpad stores parent URLs as:
bzr+ssh:
So qpush tries only to change the last part of URL.
Now qpush propose me the following URL to push:
bzr+ssh:
Attempt to push to this URL failed:
Run command: bzr push bzr+ssh:
Connected (version 2.0, client Twisted)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: Permission denied: "Cannot create 'test'. Only Bazaar branches are allowed."
I think we can try to detect bzr+ssh: //bazaar. launchpad. net/%2Bbranch and replace %2Bbranch with launchpad_login from bazaar.conf