info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with lock files


From: Anand Graves
Subject: Problem with lock files
Date: Thu, 16 Sep 2004 16:37:17 +0200 (CEST)
User-agent: SquirrelMail/1.4.2 [CVS]

I use Debian with CVS version 1.11.1p1 (client/server) /pserver and WinCVS.
I have put 2 commands in the loginfo so that they are executed whenever I
do a commit from WinCVS into the cvs repository on the Debian server:

^bl cvs checkout -d /tmp/bl bl;/usr/bin/rsync -avze /usr/bin/ssh --delete
/tmp/bl address@hidden:/home/md/rsync-testdata

But when I give a cvs commit command it keeps hanging, because of a lock
file:
waiting for cvs's lock in /var/lib/cvs/bl
I don't understand this because I'm the only one using it. In
CVSROOT/config I have set the LockDir:
/var/cvslock

When it keeps hanging because of the lock file, I go to the LockDir and
first remove the wfl and then the #cvs.lock directory. After I have
deleted the #cvs.lock directory, the checkout succeeds. Only the rsync
fails, but that's another thing i'm trying to fix.

But when I remove the #cvs.lock directory I get the following error:
cvs server: failed to remove lock dir /var/cvslock/bl/#cvs.lock: No such
file or directory

But it seems very clumsy to delete the lock files every time I want to
commit one of several files. Isn't there another way?

Anand




reply via email to

[Prev in Thread] Current Thread [Next in Thread]