Links

Content Skeleton

This Page

Previous topic

<no title>

Next topic

Altbackup

SVN2GIT via git svn clone

FUNCTIONS

svn2git-clone name url
clone SVN repository into
svn2git-users
creates a users file that assumes can treat all authors of all repos together
svn2git-db-check
check authors
simon:svn2git blyth$ echo select \* from authors \; | sqlite3 ~/.env/svnauthors.db

issues

slow

About 100 revisions per minute on G, so will take at least 40min for env

all users with any repo activity must be defined

Otherwise the clone stops:

r45 = 6b60eb834f145b3bc08713810729004ea8e71f9a (refs/remotes/trunk)
        A       db2trac/sources.xml
        A       db2trac/db2trac.xsl
        A       db2trac/test.sh
Author: admin not defined in /usr/local/env/scm/svn2git/users.txt file

Then after adding an email for admin, by deletion and recreation of user in trac admin:

r358 = 1c56cbb812de3438cca33c2d12cd5083f607eecf (refs/remotes/trunk)
        M       compilation/blurb.tex
Author: tosi not defined in /usr/local/env/scm/svn2git/users.txt file