RE: CVS list files in repository which are currently in checked out status
Rupa Bholanath Lahiri <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.general |
|---|---|
| Message-ID | <106E073472068344AD56E87FD835AA971458136C65@BLRKECMBX09.ad.infosys.com> |
Hi, Will the edit command work only after the watch command? i.e. is this something like when one starts watching files, and to modify the files I am watching, I will need to fire the edit command first? Regards, Rupa -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mark D. Baushke Sent: Friday, August 28, 2009 8:55 AM To: Rupa Bholanath Lahiri Cc: Risman, Mark; Todd Denniston; [email protected] Subject: Re: CVS list files in repository which are currently in checked out status -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Rupa, Rupa Bholanath Lahiri <[email protected]> wrote: > Now I would like to specify here after digging further and further > that I need to list out the files which have being reserved check out > / locked by any user. There is no concept of a reserved checkout in CVS (such as there is in RCS and some other SCM systems). If you mean you want to find out which files have had a 'cvs edit' advisory lock put on them, then you want to use the 'cvs editors' command to get that list of files. The output will include the relative path in the current sandbox to such a file as well as the user, the date of the edit the hostname and the pathname of the file which was actually locked. You will need to do that command in a checked out tree. Enjoy! -- Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFKl037Cg7APGsDnFERAgb8AJ48xcB1ofbkfeesuY1tF5hk1uTJhwCgkvbI zNz9x/oi/3lyHuDHgOKAuW8= =4v/p -----END PGP SIGNATURE----- **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***