[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to release CVS locks?
From: |
Peter Toft |
Subject: |
How to release CVS locks? |
Date: |
Fri, 5 May 2006 15:08:01 +0200 |
Hi there
I have a project where I need to use cvs locking, i.e.
"cvs watch FILENAME", so other users will check out files
from the CVSROOT and get the files read-only until the
use "cvs edit FILENAME". I have a problem though which I
have not seen described in the howtos etc.
Assume the "cvs watch on" scenario above;
* User A and B checks module "bla" with the file "bla/a.txt"
* User A does "cd bla; cvs edit a.txt"
* Now User A is deleted from the system, he goes on vacation, or deletes "bla"
* Now User B has to work on "bla/a.txt" but gets the message from
"cd bla; cvs edit a.txt" that User A is locking the model.
What is the best (and correct) way to handle this locking situation
if User A cannot ask User B to do "cvs unedit a.txt" or "cvs commit a.txt"???
Thanx to the person to help me here!
Best regards
Peter Toft, Ph.D. address@hidden http://pto.linux.dk
Audience: What do you want, Eric?
Eric: I want to live in a world where software doesn't suck.
Richard: Any software that isn't free sucks.
Linus: I'm interested in free beer.
- How to release CVS locks?,
Peter Toft <=