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}" [EMAIL PROTECTED] (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 +) &