# git-svn fails

2 messages from 2008-06-14 to 2008-06-15. Participants: Guido Governatori, Sam Vilain.
Thread: https://gitlist.dev/t/13943

## Guido Governatori, 2008-06-14 05:50

Subject: git-svn fails
Message-ID: <A869B7C3-4AC3-4592-A0F1-0349B64E07ED@itee.uq.edu.au>
URL: https://gitlist.dev/e/A869B7C3-4AC3-4592-A0F1-0349B64E07ED%40itee.uq.edu.au

```
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, 2008-06-15 21:12

Subject: Re: git-svn fails
Message-ID: <485585B3.60406@vilain.net>
URL: https://gitlist.dev/e/485585B3.60406%40vilain.net
In-Reply-To: <A869B7C3-4AC3-4592-A0F1-0349B64E07ED@itee.uq.edu.au>

```
Guido Governatori wrote:
> 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.

```
