Forum OpenACS Q&A: locking cvs

Collapse
Posted by Simon Buckle on
How do I "lock" CVS? Basically I want to prevent developers from
adding, committing files etc while I backup the repository. Any thoughts?

thanks

Collapse
2: Response to locking cvs (response to 1)
Posted by Ken Mayer on
CVS doesn't use "locking" per se, but you can access the underlying RCS locking through the "cvs admin" function. RTFM about cvs admin -l and -L. If users are accessing the repository remotely via pserver, then the simple, brute force way is to turn off cvspserver in inetd.conf.
Collapse
3: Response to locking cvs (response to 1)
Posted by Andrew Piskorski on
The simplest way is probably just to chmod the files in the CVS repository. I haven't tried that personally, but it should work. There are other ways. See also Backing up a repository in the Cederqvist. Possibly CVS admin as well, as Ken mentioned above.