[cvsnt] Re: Setting wait timeout when waiting for lock?

Tony Hoyle tmh at nodomain.org
Thu Sep 16 18:33:33 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Anders Jacob Truelsen wrote:
> Hi fellow CVSNT users
> 
> Can I set the timeout limit when waiting for a lock to be released?
> 
> The case is as follows:
> I have a script that checks out the whole world and builds it.
> If it is forced to wait for a lock, it will from time to time fail due
> to CVS timing out.
> What I want in this case is to wait until the lock is release, or at
> least wait a full hour before failing.
> 
Locks only last about a second.  Waiting for an hour would be complete 
overkill... even one that's lasted 10 seconds is suspicious, unless it's 
a very large file.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook