Last active

convert a google code svn repository but first svnsync it, so you can try the conversion again and easily convert the wiki later. It is way faster too.

  • Download Gist
1 2 3 4 5 6 7 8 9 10
set -u
set -e
svnadmin create svn-mirror
echo "#!/bin/sh" > svn-mirror/hooks/pre-revprop-change
echo "exit 0" >> svn-mirror/hooks/pre-revprop-change
chmod +x svn-mirror/hooks/pre-revprop-change
svnsync init file://`pwd`/svn-mirror http://$
svnsync sync file://`pwd`/svn-mirror
hg convert file://`pwd`/svn-mirror hg-mirror

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.