bazaar launchpad branch creation

Martin Pool mbp at canonical.com
Mon Mar 3 12:09:58 GMT 2008


On 03/03/2008, Erik Bågfors <zindar at gmail.com> wrote:
> Hi.
>
>  Since my new web hotel doesn't support SFTP, I wanted to put bzr
>  extmerge on launchpad instead.  So I created a project, then went to
>  define "trunk". I got this message
>
>  ---
>  You haven't yet told Launchpad where your source code is for External
>  merge Series: trunk.
>
>  If the code is already in a Bazaar branch registered with Launchpad
>  link the branch to this series.
>
>  If the code is in a Bazaar branch not yet on Launchpad you can either:
>  have the branch mirrored from a remote location by registering a
>  mirrored branch; or push the branch directly to Launchpad.
>
>  You can push a branch to Launchpad for this project with the name
>  trunk using a command line like:
>  bzr push lp:~zindar/bzr-extmerge/trunk
>  ---

Hi Erik,

Thanks for trying hosting, and reporting this issue.

>
>  Ok, so I tried
>  $ bzr push lp:~zindar/bzr-extmerge/trunk
>  lp:~zindar/bzr-extmerge/trunk is redirected to
>  http://bazaar.launchpad.net/~zindar/bzr-extmerge/trunk/
>  bzr: ERROR: Transport operation not possible: http does not support mkdir()

I think this will work if you do 'bzr launchpad-login' first to tell
it you have an account and can write to Launchpad; however clearly the
ui is not making it at all clear that you need to do this.

>
>  From what I understand, I should use sftp to upload a branch, and http
>  to download.  But I can't find any information of the url to the
>  branch.  Perhaps the lp plugin should try to use sftp if it's a push
>  operation and http for pull/update/etc.
>
>  I tried a wild guess
>
>  $ bzr push sftp://launchpad.net/~zindar/bzr-extmerge/trunk
>  ssh: connect to host launchpad.net port 22: Operation timed out
>  bzr: ERROR: Unable to connect to SSH host launchpad.net; EOF during negotiation
>
>  That didn't work.

I think it would work if you say bazaar.launchpad.net

-- 
Martin



More information about the bazaar mailing list