threads / discuss / 22433

Major git-svn fail

Subject: Major git-svn fail

## tl;dr

2 messages between Jan 29, 2010 and Jan 29, 2010.

replies: 1people: 2as markdown or json

Rafael Kitover· Jan 29, 2010, 01:50 UTC · lore
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· Jan 29, 2010, 03:08 UTC · re: Rafael Kitover · lore

Re: Major git-svn fail

Hi,
On Fri, Jan 29, 2010 at 9:50 AM, Rafael Kitover <rkitover@io.com> wrote:
Show 20 quoted lines
> 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

← back to recent threads