info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Renaming a file in the trunk but not in branches


From: Arthur Barrett
Subject: RE: Renaming a file in the trunk but not in branches
Date: Sat, 12 Mar 2005 08:28:49 +1100

Dave,

CVSNT server (Free,gpl, just like CVS) allows "true" renames on Linux,
Unix, Windows, Mac OS X etc etc.  Replacing the "cvs" server with
"cvsnt" server will preserve all your history to date.

You need at least one CVSNT client on any platform) to do the actual
rename, but then all CVS (cvshome), Eclipse and CVSNT clients can "see"
the old and new names and history.  

For more information on CVSNT please ask the CVSNT newsgroup:
news://news.cvsnt.org/support.cvsnt
or
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

You can download cvsnt from http://www.cvsnt.org/

Regards,


Arthur


> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
> ] On Behalf Of David Leskovac
> Sent: Saturday, 12 March 2005 3:28 AM
> To: address@hidden
> Subject: RE: Renaming a file in the trunk but not in branches
> 
> 
> One additional question on this:
> Is there any way to preserve history on the new file?
> 
> My understanding is that if I copy the <oldfile>,v to 
> <newfile>,v on the server and then run the commands below on 
> the client, then this will affect the trunk as well as the 
> branches. Is this true?
> 
> If true, is there any other way to rename a file in the trunk 
> & retain the history of the oldfile in the newfile while 
> keeping the oldfile intact in the branches?
> 
> Thanks,
> -Dave
> 
> -----Original Message-----
> From: Jim.Hyslop [mailto:address@hidden
> Sent: Friday, March 11, 2005 10:33 AM
> To: David Leskovac; address@hidden
> Subject: RE: Renaming a file in the trunk but not in branches
> 
> 
> David Leskovac wrote:
> > Will the following commands work to rename a file in the trunk but 
> > retain the old file name in all its branches?:
> > 
> > cvs co <module>
> > cvs remove -f <oldfile>
> > cvs add <newfile>
> > cvs commit -m"Renamed <oldfile> to <newfile>" <oldfile> <newfile>
> Yes, that will work fine.
> 
> -- 
> Jim Hyslop
> Senior Software Designer
> Leitch Technology International Inc. ( http://www.leitch.com 
> ) Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]