tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schnitzer, Jeff" <JSchnit...@maxis.com>
Subject RE: [ OT ] what source code control system?
Date Sun, 12 Jan 2003 07:12:09 GMT
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
jschnitzer@maxis.com
The Sims Online

> -----Original Message-----
> From: Larry Meadors [mailto:Larry.Meadors@plumcreek.com]
> Sent: Saturday, January 11, 2003 7:04 AM
> To: tomcat-user@jakarta.apache.org
> 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
> 
> >>> jon@eaves.org 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-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message