Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
One trick you can use, that I have used to fix this problem here, is just to rename the file in the attic with the new capitalization. This, of course, only works if you really don't care about the capitalization (we have a unix server and NT development boxes, so we don't.) Then the history is retained, and the deleted file is resurrected with the new name. Boyd -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Glen Starrett Sent: Friday, May 23, 2003 1:35 PM To: 'Zaid, Mahmoud'; CVS-NT Mailing List (E-mail) (E-mail) Subject: RE: [cvsnt] refresh the repos Ahhhh, that one. I remember. I have no "good, sound advice" on this matter. However, I have some less-than-sound suggestions (Always use caution, backup your entire repository before you proceed, etc. etc.): You can remove almost all knowledge of a file by deleting it from the repository. The RCS file in the repository has a ",v" appended to the name. There will still be history entries, but I don't believe that will hurt anything. Note that this falls under the category of "hacking the repository", but there is no recommended way I know of to change capitalization of a file. Since you're hacking anyway and will be backing everything up and testing anyway--you MIGHT try removing all copies of that file your sandboxes and renaming the file directly on the server, then updating again. I haven't heard of anyone trying this, but intuitively it makes sense based on the little I know of the inner-workings of CVSNT (is that enough caution I've impressed in this paragraph?). If this works, then you can keep all the old history but I don't know if the capitalization is kept anywhere else (take a peek in the RCS file itself and the files in CVSROOT, for example). Regards, Glen Starrett -----Original Message----- From: Zaid, Mahmoud [mailto:Zaidm at Pragmatics.com] Sent: Friday, May 23, 2003 11:25 AM To: 'Glen Starrett' Subject: RE: [cvsnt] refresh the repos Thanks Glen for replying; this is an old email I sent to the cvsnt mailing list: I am trying to check in a new file to the repos; this file was alreday in the repos but I need to change its name to have the letter T instead of t. I removed the old file (editticket.cfm) from the repos but I still get this msg (below) when trying to add the file with the new name (editTicket.cfm). Would someone help me out here, we just start using CVS in my company and no one knows why we can't add/commit this file to the repos. These are the steps that I am issuing: cvs update editTicket.cfm ***** CVS exited normally with code 0 ***** A editTicket.cfm cvs commit -m "new file" editTicket.cfm ***** CVS exited normally with code 1 ***** cvs [server aborted]: received abort signal Assertion failed: key != NULL, file hash.c, line 312 What does letter "A" indicate? Thanks in advance, -----Original Message----- From: Glen Starrett [mailto:grstarrett at cox.net] Sent: Friday, May 23, 2003 2:16 PM To: 'Zaid, Mahmoud'; 'CVS (E-mail)' Subject: RE: [cvsnt] refresh the repos I'm not sure what you mean. You can "cvs rm filename" to remove it from the repository, it is tossed in the "attic" and history maintained in case you need to grab a previous version of your repository. Hope that helps. Glen Starrett -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Zaid, Mahmoud Sent: Friday, May 23, 2003 11:11 AM To: CVS (E-mail) Subject: [cvsnt] refresh the repos Greetings, Is there a way to "refresh" the repository so it won't refer to a file that was deleted? Thanks, Regards, Mahmoud Zaid 703 761-4033 x232 _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs