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

Re: "remote origin already exists" when running dpt alioth-repo



Hi Andrew,

Andrew Beverley wrote:
> Initialized empty shared Git repository
> in /srv/git.debian.org/git/pkg-perl/packages/libdpkg-parse-perl.git/

Hmmm. That does not (or at least no more) exist for me. Maybe the
failure below cleaned it up. Or Salvatore cleaned it up as well:

10:40:19 <KGB-0:#debian-perl> Salvatore Bonaccorso master 3c8224e meta
.mrconfig Remove duplicate entry for libdpkg-parse-perl * http://deb.li/3qvbV

> HEAD is now at 8aa113d add mrconfig for libdpkg-parse-perl
> [master 5d4bd99] add mrconfig for libdpkg-parse-perl
>  1 file changed, 3 insertions(+)
> To /git/pkg-perl/meta.git
>    8aa113d..5d4bd99  master -> master
> fatal: remote origin already exists.
> 
> Note the last error. Whilst I understand the error message, I'm not sure
> why it appears to be trying to create a new remote when this is the
> first time I am pushing the package.

You're understanding it correctly. The purpose of that script is to
configure _and_ first-time push a so far only local git repo so that
it works as expected together with Alioth.

> What am I doing wrong?

Your git repository likely already has a remote named "origin".

Try "git remote rename origin old-origin" and then try "dpt
alioth-repo" again.

P.S.: Are you already on the debian-perl@ list? If so we can drop
writing to you _and_ the list. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: