# Major git-svn fail

2 messages from 2010-01-29 to 2010-01-29. Participants: Rafael Kitover, Tay Ray Chuan.
Thread: https://gitlist.dev/t/22433

## Rafael Kitover, 2010-01-29 01:50

Subject: Major git-svn fail
Message-ID: <20100129015016.GD759@hlagh.dongs>
URL: https://gitlist.dev/e/20100129015016.GD759%40hlagh.dongs

```
Hello,

I'm trying to convert an SVK repo to git using the steps described here:
http://blog.woobling.org/2009/06/git-svn-abandon.html

I'm using the latest devel git from git as the svk reparenting stuff
seems to have gotten merged already.

When I used the old code from samv's github
(http://github.com/samv/git/tree/svn-merge-attrs) it ran through the
clone all the way, but I had a core file in the directory, so I don't
really trust the results.

This is the command I'm using and the results:
git svn clone --authors-file=sl-authors.txt
--branches='http://dev.catalyst.perl.org/repos/bast/branches/DBIx-Class-Schema-Loader/'
--tags='http://dev.catalyst.perl.org/repos/bast/DBIx-Class-Schema-Loader/tags/'
--trunk='http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader'
'http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader'
sl
Initialized empty Git repository in
/home/rkitover/src/git-conversion/sl/.git/
Using higher level of URL:
http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader
=> http://dev.catalyst.perl.org/repos/bast
perl:
/tmp/buildd/subversion-1.6.9dfsg/subversion/libsvn_subr/path.c:115:
svn_path_join: Assertion `svn_path_is_canonical(component, pool)'
failed.
error: git-svn died of signal 6

The authors file I'm using is:
http://cachemiss.com/files/sl-authors.txt

These svn URLs are for a public repo, so hopefully you can reproduce my
results.

Any help much appreciated.

```

## Tay Ray Chuan, 2010-01-29 03:08

Subject: Re: Major git-svn fail
Message-ID: <be6fef0d1001281908t53f66031udf917bf02eedcf9f@mail.gmail.com>
URL: https://gitlist.dev/e/be6fef0d1001281908t53f66031udf917bf02eedcf9f%40mail.gmail.com
In-Reply-To: <20100129015016.GD759@hlagh.dongs>

```
Hi,

On Fri, Jan 29, 2010 at 9:50 AM, Rafael Kitover <rkitover@io.com> wrote:
> This is the command I'm using and the results:
> git svn clone --authors-file=sl-authors.txt
> --branches='http://dev.catalyst.perl.org/repos/bast/branches/DBIx-Class-Schema-Loader/'
> --tags='http://dev.catalyst.perl.org/repos/bast/DBIx-Class-Schema-Loader/tags/'
> --trunk='http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader'
> 'http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader'
> sl
> Initialized empty Git repository in
> /home/rkitover/src/git-conversion/sl/.git/
> Using higher level of URL:
> http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Schema-Loader
> => http://dev.catalyst.perl.org/repos/bast
> perl:
> /tmp/buildd/subversion-1.6.9dfsg/subversion/libsvn_subr/path.c:115:
> svn_path_join: Assertion `svn_path_is_canonical(component, pool)'
> failed.
> error: git-svn died of signal 6
>
> The authors file I'm using is:
> http://cachemiss.com/files/sl-authors.txt

I ran this:

  $ git svn --version
  git-svn version 1.6.6.1.436.gaba7d (svn 1.6.6)

  $ git svn clone --authors-file=sl-authors.txt \
  --branches=http://dev.catalyst.perl.org/repos/bast/branches/DBIx-Class-Schema-Loader/
\
  --tags=http://dev.catalyst.perl.org/repos/bast/tags/ \
  --trunk=http://dev.catalyst.perl.org/repos/bast/trunk/ \
  http://dev.catalyst.perl.org/repos/bast/

This is what I got:

  Initialized empty Git repository in /home/Owner/tmp/foo/bast/.git/
  Using higher level of URL:
http://dev.catalyst.perl.org/repos/bast/trunk =>
http://dev.catalyst.perl.org/repos/bast
  r1 = f48f2e41631e82bec48ad96ec206faf0b5893226 (refs/remotes/trunk)
  ....

Looks ok.

-- 
Cheers,
Ray Chuan

```
