conversion from svn with renames
- From
- Ricardo SIGNES <rjbs@cpan.org>
- Date
- Jul 29, 2007, 12:23 UTC
- Message-ID
- <20070729122301.GA17016@knight.manxome.org>
I'd like to convert svn.codesimply.com/projects' contents to git.
Right now, the content is like this:
/projects/$PROJECTNAME/{trunk,tags,branches}git-svnimport does well if I specify projects/$PROJECTNAME/trunk as the trunk directory and that/tags as the tags directory. (I am not interested in bothering with branches.) The problem is this:
For many of the projects, $PROJECTNAME was once "foo" and is now "bar." git-svnimport only imports the history from the current name.
I tried to import foo, then bar, into one git repostiory, but the histories didn't seem to get connected. Sam V. suggested git-filter-branch, but I didn't quite see how to make it do what I wanted.
I would greatly appreciate any advice or help on this conversion.
-- rjbs