summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'z-distfiles/scripts-gw/svm-replicate')
-rwxr-xr-xz-distfiles/scripts-gw/svm-replicate10
1 files changed, 10 insertions, 0 deletions
diff --git a/z-distfiles/scripts-gw/svm-replicate b/z-distfiles/scripts-gw/svm-replicate
new file mode 100755
index 0000000..5b45ab8
--- /dev/null
+++ b/z-distfiles/scripts-gw/svm-replicate
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+for REPOSITORY in $@
+ do
+ echo "Syncing ${REPOSITORY} ..."
+ export SVMREPOS=/var/svn/repos/${REPOSITORY}
+ svm-expanded unlock / force
+ svm-expanded sync /
+ echo "Sync finished ..."
+done