git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Nicolas Kuttler <wp@nkuttler.de>
To: git@vger.kernel.org
Subject: git svn fetch -> fatal: refs/remotes/trunk: not a valid SHA1
Date: Sun, 12 Dec 2010 17:19:28 +0100	[thread overview]
Message-ID: <20101212161928.GE30395@nicolaskuttler.de> (raw)

Hello,

I'm using git version 1.7.2.3 and get the
"fatal: refs/remotes/trunk: not a valid SHA1" error while fetching from
an svn repository.

$ mkdir test
$ cd test
$ git svn init -s http://svn.wp-plugins.org/zero-conf-mail
$ git svn fetch -r246566

r246566 = 92e8abc50bf56cc1774e0e2688a280bc379a4817
(refs/remotes/tags/0.6.1)
fatal: refs/remotes/trunk: not a valid SHA1
update-ref refs/heads/master refs/remotes/trunk: command returned error: 128

The problem seems to be that r246566 was created by a "git svn tag foo"
command, fetching r246565 is works just fine. I didn't test if native
svn tagging produces the same error but can do this if relevant. It
could also be specific to the wordpress svn repository, I haven't tested
that either.

Thanks,

Nicolas

P.S. Please CC me as I'm not on the list.

--
Nicolas Kuttler
wp@nkuttler.de

http://www.nkuttler.de
http://www.nicolaskuttler.de (deutsch)

                 reply	other threads:[~2010-12-12 16:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101212161928.GE30395@nicolaskuttler.de \
    --to=wp@nkuttler.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).