{"thread":{"id":"26027","subject":"git svn fetch -> fatal: refs/remotes/trunk: not a valid SHA1","startedAt":"2010-12-12T16:19:28Z","lastAt":"2010-12-12T16:19:28Z","messageCount":1,"participants":["Nicolas Kuttler"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"157890","messageId":"20101212161928.GE30395@nicolaskuttler.de","threadId":"26027","inReplyTo":null,"subject":"git svn fetch -> fatal: refs/remotes/trunk: not a valid SHA1","fromName":"Nicolas Kuttler","fromEmail":"wp@nkuttler.de","sentAt":"2010-12-12T16:19:28Z","receivedAt":"2010-12-12T16:19:28Z","isPatch":false,"sender":{"key":"wp@nkuttler.de","avatar":null},"body":"Hello,\n\nI'm using git version 1.7.2.3 and get the\n\"fatal: refs/remotes/trunk: not a valid SHA1\" error while fetching from\nan svn repository.\n\n$ mkdir test\n$ cd test\n$ git svn init -s http://svn.wp-plugins.org/zero-conf-mail\n$ git svn fetch -r246566\n\nr246566 = 92e8abc50bf56cc1774e0e2688a280bc379a4817\n(refs/remotes/tags/0.6.1)\nfatal: refs/remotes/trunk: not a valid SHA1\nupdate-ref refs/heads/master refs/remotes/trunk: command returned error: 128\n\nThe problem seems to be that r246566 was created by a \"git svn tag foo\"\ncommand, fetching r246565 is works just fine. I didn't test if native\nsvn tagging produces the same error but can do this if relevant. It\ncould also be specific to the wordpress svn repository, I haven't tested\nthat either.\n\nThanks,\n\nNicolas\n\nP.S. Please CC me as I'm not on the list.\n\n--\nNicolas Kuttler\nwp@nkuttler.de\n\nhttp://www.nkuttler.de\nhttp://www.nicolaskuttler.de (deutsch)\n"}]}