Recipe for subversion-to-git for mysqlpp


mysql++ has some minor issues, it is time to develop & present the remediations.


For mod-ndb we had Recipe for subversion-to-git for mod-ndb
For dbd-modules we had git svn, svnsync | Git and Subversion


mysql++ seems to be mastered at Gna!


$ cd /vault/git/svn
$ svnadmin create mysqlpp
$ cat > mysqlpp/hooks/pre-revprop-change
exit 0;
$ chmod +x mysqlpp/hooks/pre-revprop-change
$ svnsync init file:///vault/git/svn/mysqlpp
Copied properties for revision 0.

$ svnsync sync file:///vault/git/svn/mysqlpp 
... hundreds of lines ...

$ cd /vault/git/clones
$ git svn clone file:///vault/git/svn/mysqlpp -T trunk -b branches -t tags

Also, -s is the same as -T trunk -b branches -t tags

2 thoughts on “Recipe for subversion-to-git for mysqlpp

  1. To check out into a bare repository, one must first check out into a non-bare repository and then make it bare

    $ git svn clone --bare file:///vault/git/svn/mysqlpp --stdlayout
    $ mv mysqlpp/.git mysqlpp.git
    $ cd mysqlpp.git
    $ git config --bol core.bare true
    $ rm -rf mysqlpp # keep mysqlpp.git