[OT] Anyone w/ svn->git experience and advice?

Michel Fortin michel.fortin at michelf.com
Fri Jan 13 07:04:14 PST 2012


On 2012-01-13 03:32:25 +0000, "Nick Sabalausky" <a at a.a> said:

> $ git svn clone
> http://svn.dsource.org/projects/goldie --prefix=svn/ 
> --preserve-empty-dirs --authors-file=goldie-authors.txt
> --trunk=trunk --tags=tags Goldie
> ...the first few revisions (out of 557 total) here...
> r85 = 60d792abf9957f41f70d7ae399fee7ecda0b66f1 (refs/remotes/svn/trunk)
>         M       README.txt
> Failed to strip path 'bin/lang/.gitignore' ((?-xism:^trunk(/|$)))

You can fix yourself the git-svn script if you want:
<https://github.com/git/git/blob/master/git-svn.perl>

To me it seems like the git_path sub is called on an already stripped 
path. It would probably just work if you just removed the 'die' command 
on line 4583 of git-svn, even though that's a dirty fix. (Line number 
taken from github's master, you might be using a different version.)



-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list