Veronica Lee wrote:
> Is there a way in UNIX or WinCVS to get a list of users that have
> checked out files but have not checked them in?  We need this function
> for release management.

CVS uses the term "checkout" in the ways that other version control
systems use the term "fetch" or "create sandbox" or something like
that.  CVS has no real concept of checking out a file, i.e. reserving it
for edit.  You can cvs edit a file, which communicates briefly with the
repository to notify anyone who wants to be notified that you're
"checking out" the file, but this is not required.

Consequently, what you want is not easily accomplished, if it's possible
at all.

If everyone in your organization were to have their environment variable
CVSREAD set to true, and if everyone in your organization were to cvs
edit files before changing/committing them (as opposed to simply making
them writeable and then making changes), then it's possible you could
hook up something to the watch/notify mechanisms
(http://www.loria.fr/~molli/cvs/doc/cvs_10.html#SEC83 and, specifically,
http://www.loria.fr/~molli/cvs/doc/cvs_10.html#SEC85).  The "notify"
file can be consulted in these cases when a cvs edit is applied.  Not
quite what you want, but probably as close as you're going to get.  :-)

Cheers,
Laird

Reply via email to