Sally, The file was locked in RCS at the time the file was transitioned to CVS. Someone had either done a "co -l" or "ci -l" when using RCS. In RCS one could use the "rcs -u file" to remove the lock.
In CVS the admin command has a -u option that you could use "cvs admin -u file". The "cvs admin" command is one you want to be careful with, especially options like "-o" where you can remove deltas. Use "cvs -H admin" to see the many options available. You can also restrict people from being able to use the "admin" command (except for the cvs admin -k command, which can be run by anybody) by creating a group "cvsadmin" and only adding people to the group that you want to have admin rights. See http://www.cvshome.org/docs/manual/cvs_16.html#SEC119 for more information. You could also hack the repository and rm $CVSROOT/path/filename.c~,v The filename.c~ is most likely a backup of the file from emacs that someone had checked in with RCS. Dale Miller > -----Original Message----- > From: Miller Sally S NPRI [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 10:25 AM > To: '[EMAIL PROTECTED]' > Subject: deleting bad files > > > I am helping a team transition from RCS to CVS. > I did not create the repository but I would like to clean it up. > I am on a Unix system with a command line interface. > and want to delete filename.c~ > > cvs remove -f filename.c~ > but a cvs commit > tells me that the file is already locked by Common. > > is there a way to remove the file by cvs or do I have to > manually remove > it in the Repository. > > TIA > > Sally > > > > _______________________________________________ > Info-cvs mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/info-cvs > _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
