We're using CVS in pserver mode:
CVS server is running on one machine under only one UID.
nobody else has direct access to the repository.
clients are Unix machines or even PC without mounted filesystem.
There is no user way to access directly the repository.
The only way is through CVS commands. That's why I was
looking for some kind of "cvs getlock abcd" command.

  I can always add a file in a well-known directory,
and use the "edit -c" patch that provides reserved
checkouts.
That way I can do a "cvs edit -c /mylocks/lock-abcd" to try to get a lock,
and a "cvs unedit /mylocks/lock-abcd" to release the lock.
But before doing this, I have to checkout the file.
And after, I have also to release the lock file from the local user
directory.

  I was looking for a better way (a patch that provides this feature).

  Maybe this would be a nice Request For Enhancement ?

--
Gilles-Eric DESCAMPS, ������� Fax (419) 844 7467
Silicon Access���<�Enabling the Terabit Internet >
2801A Orchard Parkway - San Jose, CA, 95134-2013
mailto:[EMAIL PROTECTED]
"Sed quis custodiet ipsos custodes ?"

Reply via email to