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: David Leskovac
Subject: RE: Renaming a file in the trunk but not in branches
Date: Fri, 11 Mar 2005 11:27:57 -0500

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 )




reply via email to

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