git svn fetch -> fatal: refs/remotes/trunk: not a valid SHA1

From: Nicolas Kuttler <hidden>
Date: 2016-06-15 22:50:14

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)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help