On Wed, Jul 11, 2007 at 10:43:19AM +0100, Nicholas Clark wrote: > On Wed, Jul 11, 2007 at 10:38:58AM +0100, Nicholas Clark wrote:
> $ (cd ../rt && cvs add local/html/Admin/Queues) > cvs [add aborted]: there is a version in local/html/Admin/Queues already > > So, did it fail or not? > > $ cvs add ../rt/local/html/Admin/Queues/Scrips.html > cvs server: scheduling file `../rt/local/html/Admin/Queues/Scrips.html' for > addition > cvs server: use 'cvs commit' to add this file permanently > > I guess I find out when I attempt to commit. > Or maybe only when I attempt a clean checkout somewhere else. Nope, about 30 minutes later I discover that CVS diff is sufficient to discover that there is now state inconsistency between the repository and the local system: cvs server: failed to create lock directory for `/export/cvsroot/rt/local/html/Admin/Queues' (/export/cvsroot/rt/local/html/Admin/Queues/#cvs.lock): No such file or directory cvs server: failed to obtain dir lock in repository `/export/cvsroot/rt/local/html/Admin/Queues' Hateful. It looks like if the network protocol fails on CVS (for any reason) it can't recover. Nicholas Clark
