Author: tpot Date: 2005-01-19 04:21:47 +0000 (Wed, 19 Jan 2005) New Revision: 4834
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4834 Log: Create a delta to apply to the websvn repository and send it over to dp3. This is in preparation for getting rid of rsync as the method for synchronising the websvn repository with the real one. Modified: hooks/post-commit Changeset: Modified: hooks/post-commit =================================================================== --- hooks/post-commit 2005-01-19 03:34:49 UTC (rev 4833) +++ hooks/post-commit 2005-01-19 04:21:47 UTC (rev 4834) @@ -41,3 +41,12 @@ ${REPOS}/hooks/synchooks.sh "${REPOS}" "${REV}" (python2.2 /home/svnanon/bin/ciabot_svn.py ${REPOS} ${REV} Samba &) +# 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 +) &