Renaming the file in the CVS repository makes it impossible to build old versions of your code. If you rename the file within CVS, then CVS thinks that file has always been called the new name. Checking out old tags will give you the file with the new name, not the old name. Most likely this will break your build.
In general, renaming the file in the repository is a really bad idea and should be done only in very carefully considered circumstances. The only safe way to "rename" a file in CVS is to remove it and re-add it with the new name. Kinda lame. Jeff Schnitzer [EMAIL PROTECTED] The Sims Online > -----Original Message----- > From: Larry Meadors [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 11, 2003 7:04 AM > To: [EMAIL PROTECTED] > Subject: Re: [ OT ] what source code control system? > > I did not know this trick! > > If it is this simple, you gotta wonder...why no "cvs rename" command... > > Larry > > >>> [EMAIL PROTECTED] 01/10/03 17:03 PM >>> > Renaming things is trivial, just get the > administrator to rename it for you. > > mv $CVSROOT/src/foo.java,v $CVSROOT/src/bar.java,v. > > Or if you don't care about losing your log history, > then just delete and add it. > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:tomcat-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
