Launchpad logo and name.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index ][Thread Index ]

Re: [Launchpad-users] pushing code



2009/7/28 Darryl Moore <darryl@xxxxxxxxx>:
> I'm new to launchpad, but I am trying to use it to publish my own code.
>
> I am however having difficulty.
>
> I've followed the instructions here:
>
> https://help.launchpad.net/Code/UploadingABranch
>
> and set up a branch like so
>
> Status:         Development
> Update this branch:     bzr push lp:~darryl-moores/+junk/test
> Linked bug reports and blueprints
>
>
> I can log in, from a terminal with bzr but I always get error messages
> when I run bzr push. Does anybody know what is going on. The
> instructions above gave no insighed and when I googled I only came up
> with an instance where someone was using a soft linked directory.
>
> here is what my terminal looks like:
>
> darryl@el-grande:~/tuxit/scripts/scripts/server$ bzr launchpad-login
> darryl-moores
> darryl@el-grande:~/tuxit/scripts/scripts/server$   bzr push
> lp:~darryl-moores/+junk/test --use-existing-dir
> bzr: ERROR: Not a branch: "/home/darryl/tuxit/scripts/scripts/server/".
> darryl@el-grande:~/tuxit/scripts/scripts/server$
>

Hi Darryl,

You need to create a local bzr branch first before you try to push it
to Launchpad (i.e. bzr wants to push a branch up to Launchpad and
you're not in one).

Here's what you need to do:

$ bzr init
$ bzr add
$ bzr ci -m "Initial commit"
$ bzr push lp:~darryl-moores/+junk/test --use-existing-dir

Hope this helps,

Graham
-- 
Graham Binns | PGP Key: EC66FA7D



This is the launchpad-users mailing list archive — see also the general help for Launchpad.net mailing lists.

(Formatted by MHonArc.)