git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn fails

From
Sam Vilain <sam@vilain.net>
Date
Jun 15, 2008, 21:12 UTC
Message-ID
<485585B3.60406@vilain.net>
In-Reply-To
<A869B7C3-4AC3-4592-A0F1-0349B64E07ED@itee.uq.edu.au>
Guido Governatori wrote:
Show 13 quoted lines
> I'm trying to convert an svn repository. But when I run
> 
> git svn clone --prefix=file://PATH --sdtlayout URL
> 
> the program exist with an error message like
> 
> r341 = eaa122678de1d79883f578f3f57b73e31f5d7a6d (file%3A//PATH/tags/ 
> NAME)
> fatal: refs/remotes/file%3A//PATH/tags/NAME: not a valid SHA1
> update-ref refs/heads/master refs/remotes/file%3A//PATH/tags/NAME:  
> command returned error: 128
> 
> What am I doing wrong?

Looks like something very strange in your .git/config under the svn remote section, like a file:// URI placed where something expected a regular path name.

Sam.
Previous: Guido Governatori
Message 2 of 2 in “git-svn fails”
  1. Guido GovernatoriJun 14, 2008
  2. Sam VilainJun 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.