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: Noel L Yap
Subject: Re: How to find out who all have checked out a particular file
Date: Thu, 23 Aug 2001 09:52:53 -0400

You can have CVS default to read-only checkouts (read the docs for the various
ways to do this), but there's no way to prevent users from chmoding the files.

If users are using the "cvs edit" feature, you can do a "cvs editors" to find
out who is editing files (similar, but not equivalent, to having something
checked out in other source control tools).

Noel

In that case, how do you enforce a read-only checkout for every developer?

Thanks,
Shyam
  ----- Original Message -----
  From: Chris Greenaway
  To: 'Shyam L' ; address@hidden
  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

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

reply via email to

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