Return to Snippet

Revision: 7060
at July 3, 2008 05:21 by Juanje

Initial Code
[email protected]:~/bzr/$ cd myproject
[email protected]:~/bzr/myproject$ bzr push sftp://[email protected]/~launchpad_user/+junk/myproject --use-existing-dir

Initial URL

Initial Description
I got problems to push my project to a brand new branch created on Launchpad and this helped me out.
I've already created a new branch on Launchpad and imported my SSH key to be able to use sftp instead the standard 'lp:' (which is alias to, because http connections doesn't support mkdirs, so it wouldn't push a project with a directories.

You must change 'myproject' to the name of your register project on Launchpad and 'launchpad_user' to the user with you've registered the project.
This last is just in case your machine user name is different to your launchpad user name. If those are the same you can take off the '[email protected]' stuff between 'sftp://' and ''.

Initial Title
Import branch on Launchpad bazaar repository

Initial Tags

Initial Language