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.
> > The correct way to rename a file is: > > > > cvs delete <oldfile> > > cvs add <newfile> > > Which means you lose the revision history, precisley what I > want to avoid. No, you don't lose the revision history. It's simply that the revision history is broken up (before and after the rename). This way you could still return to an earlier state of the project, where the file still has the old name. Remember that there might be dependencies on that file (and therefore its filename) in other files from the same point in time. I myself prefer a middle ground between Tony's approach and yours however: - *copy* the ,v file in the repository to its new name/location. - cvs remove and commit the old file (i.e. marking it as DEAD) - checkout the new file - use cvs admin -s to mark all revisions of the new file previous to the rename as DEAD. Of course, I also put tags before and after the rename. This way you will only ever get one file when you checkout and it will always be the one with the correct spelling/location to match potential dependencies from elsewhere in the project. OTOH you could still view the revision history before the rename even on the new file using cvs log. Oliver ---- ------------------ JID: ogiesen at jabber.org ICQ: 18777742 Y! : ogiesen