[cvsnt] Manually renaming files

Tony Hoyle tmh at nothing-on.tv
Tue Aug 6 16:30:21 BST 2002


On Tue, 6 Aug 2002 16:16:01 +0100, "Gavin Kinsey"
<gavin.kinsey at accutest.co.uk> wrote:

>I have a rare opportunity tommorrow to access the machine the cvsnt is
>running on and am going to use the opportunity to upgrade to the latest
>version.
>
>I would also like to fix some of the wrongly named (mainly ones with spaces
>in) and positioned files.  I know the only way to do this while retaining
>revision histories is manual edits, my question is.  Is it as simple as
>moving/renaming the files in the repository or do any files need to be
>altered (something like Entries files)?
>
You really shouldn't do this, as you break the history, and eveyone
who currently has the repository checked out will need to delete their
sandbox and start again.

The correct way to rename a file is:

cvs delete <oldfile>
cvs add <newfile>

Tony




More information about the cvsnt mailing list