Hi,
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 -mRenamed oldfile to newfile oldfile newfile
Thanks,
-Dave
___
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 -mRenamed oldfile to newfile oldfile newfile
Yes, that will work fine.
--
Jim Hyslop
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
On Fri, 11 Mar 2005, David Leskovac wrote:
Date: Fri, 11 Mar 2005 11:27:57 -0500
From: David Leskovac [EMAIL PROTECTED]
To: info-cvs@gnu.org
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?
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),