info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to find out who all have checked out a particular file


From: Chris Greenaway
Subject: RE: How to find out who all have checked out a particular file
Date: Thu, 23 Aug 2001 11:31:11 +0100

The cvs -r checkout is used to get a read-only copy. You can automate this by setting the CVSREAD environment variable (e.g. export CVSREAD="blah") or putting cvs -r in the .cvsrc file. This doesn't enforce it though as someone might unset (or not set) CVSREAD or change their .cvsrc file. I suppose you could always change the permissions on their .cvsrc file so that they don't have write permission but a developer could still get round it using cvs -f to ignore the .cvsrc file. You've got to trust your developers at some point. :-)
 
 
        Chris.
-----Original Message-----
From: Shyam L [mailto:address@hidden
Sent: 23 August 2001 00:01
To: Chris Greenaway; address@hidden
Subject: Re: How to find out who all have checked out a particular file

In that case, how do you enforce a read-only checkout for every developer?
 
Thanks,
Shyam
----- Original Message -----
Sent: Wednesday, August 22, 2001 11:24 AM
Subject: RE: How to find out who all have checked out a particular file

In CVS there is no concept of having checked out a file (except) to create your initial sandbox. You just change the file then commit your changes. Your developers could use cvs edit to indicate that they are editing a file - this works especially well when the sandbox is created read-only (cvs -r checkout module-name) as cvs edit will make the file writable. If the developers are all using cvs edit then cvs editors can be used to see who has run cvs edit on a file.
 
            Chris.
-----Original Message-----
From: Shyam L [mailto:address@hidden
Sent: 22 August 2001 18:50
To: address@hidden
Subject: How to find out who all have checked out a particular file

Hi,
 
In CVS, if I want to find out who all have checked out a particular file, is there a way to do it? I guess not. Does anybody know of any workaround if I want to enforce this, may be writing some wrappers?
 
Thanks in advance,
Shyam

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]