[cvsnt] Automatic update of website on commit

John Peacock jpeacock at rowman.com
Wed Aug 28 14:55:49 BST 2002


Anders Truelsen wrote:
> It hasn't been running for more than a week, but it seems to work just
> fine.

You may just be lucky (or you haven't noticed the failures if you aren't keeping 
the cvs update logs).

There is a possible race condition with your code, since CVSNT still has the 
files locked until _after_ the loginfo returns.  If the "start" fires before the 
locks are released, the client cvs session may not be able to update the files, 
or may only update some of the files (I'm not sure if it will hang on the first 
lock or keep trying other files).  If you have a "sleep" equivalent in the batch 
file (even 2 seconds), you would be much more likely to have a safe experience.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747




More information about the cvsnt mailing list