threads / discuss / 13943

git-svn fails

Subject: git-svn fails

## tl;dr

2 messages between Jun 14, 2008 and Jun 15, 2008.

replies: 1people: 2as markdown or json

Guido Governatori· Jun 14, 2008, 05:50 UTC · lore
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?
The revision is the most recent revision on the svn repository.
I use Mac OS X10.5.3, git 1.5.5.4 (from the installer).
Thanks in advance for the helps
Guido
Sam Vilain· Jun 15, 2008, 21:12 UTC · re: Guido Governatori · lore

Re: git-svn fails

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.

← back to recent threads