svn commit: linux-cifs-client r21 - in hooks: .
tpot at samba.org
tpot at samba.org
Wed Jan 19 08:19:48 GMT 2005
Author: tpot
Date: 2005-01-19 08:19:47 +0000 (Wed, 19 Jan 2005)
New Revision: 21
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=linux-cifs-client&rev=21
Log:
Push change to websvn.
Modified:
hooks/post-commit
Changeset:
Modified: hooks/post-commit
===================================================================
--- hooks/post-commit 2004-12-16 22:11:52 UTC (rev 20)
+++ hooks/post-commit 2005-01-19 08:19:47 UTC (rev 21)
@@ -39,3 +39,13 @@
${REPOS}/hooks/commit-email.pl -s "svn commit: ${NAME}" "${REPOS}" "${REV}" samba-cvs at samba.org
(cd ${REPOS}/hooks; ./hot-backup.py ${REPOS} /backup/svn_backup/${NAME} &)
${REPOS}/hooks/synchooks.sh "${REPOS}" "${REV}"
+
+# Create a delta to apply to the websvn repository and send it over
+# to dp3.
+
+(
+ delta=/tmp/delta-${NAME}-`seq -f%08g ${REV} ${REV}`
+
+ svnadmin dump ${REPOS} --incremental -r ${REV} > $delta
+ rsync $delta dp3::svn-deltas && rm -f $delta
+) &
More information about the samba-cvs
mailing list