LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   CVS lock file -- I can't find it to remove it! (https://www.linuxquestions.org/questions/programming-9/cvs-lock-file-i-cant-find-it-to-remove-it-879656/)

dwhitney67 05-09-2011 09:37 AM

CVS lock file -- I can't find it to remove it!
 
Hi,

Folks here at my office are running into an issue with CVS; apparently there is a lock on a directory, bearing my username, that prevents a certain operation (version tagging), and I wish for the problem to go away.

I've referred to the CVS documentation concerning lock files, however I cannot locate any such files in the CVS repository (so as to remove them).

I've gone as far as removing the offending directory from my check-out area, and then restoring it using "update", but still no joy. Then I attempted to "release" the directory, only to be greeted with the message that the directory is locked; for example:
Code:

cvs release path/to/dir
You have [0] altered files in this repository.
Are you sure you want to release directory `path/to/dir': y
cvs release: [14:33:09] waiting for dwhitney67's lock in /cvs_repository/path/to/dir
<same message above repeats every 30 secs>

Any suggestions on how to fix CVS?


EDIT --

Problem solved; apparently CM decided to place CVS lock files in some other area other than within $CVSROOT; hence the reason I could not locate the lock file.

EricTRA 05-09-2011 12:35 PM

Hi,

Glad to hear you found the solution to your problem. Off the Zero Reply List. Have fun with Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 11:24 AM.