Dear Eric ... you should use git-svn
Par MadCoder,
Tuesday 29 May 2007 à 09:37 ::
Debian
Dear Eric, the best way to import a svn repository into git is to use git-svn (in a separate package in debian). It works that way:
$ git svn clone svn+ssh://path-to-the-root-of-your-repo -t foo/trunk -b foo/branches -T foo/tags
then just wait. foo/{trunk,branches,tags} is in case you want to import one subproject foo from your repository, and of course you don't need to specify it if you want the root of your repository.
git-svn is in fact a two way bridge between git and subversion, and works fine as an importer as well :) That's what I use to work with pkg-glibc svn.

Commentaires
1. Le Tuesday 29 May 2007 à 14:43, par Marius Gedminas :: site
2. Le Wednesday 30 May 2007 à 04:32, par Cameron Dale
Ajouter un commentaire