Last active
August 25, 2016 15:00
-
-
Save raimue/e2b34aa560f8b8219937 to your computer and use it in GitHub Desktop.
svndump setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ svnrdump dump https://svn.macports.org/repository/macports | xz > macports.xz | |
$ svnadmin create macports | |
$ xzcat macports.svndump.xz | svnadmin load macports --force-uuid | |
$ vim macports/hooks/pre-revprop-change | |
... | |
if [ "$USER" = "svnsync" ]; then exit 0; fi | |
... | |
exit 1 | |
$ svnsync init --sync-username svnsync --allow-non-empty file://$PWD/macports/ | |
$ svnsync synchronize --sync-username svnsync file://$PWD/macports/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment