[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Windows Hook Script - Automatic web publishing

From: McKenna, Simon (RGH) <Simon.McKenna_at_rgh.sa.gov.au>
Date: 2005-04-26 04:12:56 CEST

-> >1. When you do a commit, the hook have to update the
-> >complete working copy on the server, wich I think
-> >will slow things down.
-> >
-> You must definitely do these updates asynhchronously, that
-> is, not make the svn server wait for the updates to complete.

Was mentioned a little while ago, but as this mailing list
can be tricky to search on...prefixing your post-commit.bat
command(s) with "start /b" will spawn a new process so the
client doesn't have to wait for post-commit hook to complete.

The /b switch is useful as otherwise a new shell window is
opened on the server for each commit, and this isn't as easy
as it seems to kill via a PID search.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 26 04:13:35 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.