svn commit: lorikeet r191 - in hooks: .

tpot at samba.org tpot at samba.org
Wed Jan 19 06:28:34 GMT 2005


Author: tpot
Date: 2005-01-19 06:28:34 +0000 (Wed, 19 Jan 2005)
New Revision: 191

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=191

Log:
Add scriptlet to send deltas to dp3.

Modified:
   hooks/post-commit


Changeset:
Modified: hooks/post-commit
===================================================================
--- hooks/post-commit	2005-01-19 06:06:38 UTC (rev 190)
+++ hooks/post-commit	2005-01-19 06:28:34 UTC (rev 191)
@@ -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