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:[EMAIL PROTECTED]
Sent: Friday, March 11, 2005 10:33 AM
To: David Leskovac; [email protected]
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
[email protected]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to