[cvsnt] Manually renaming files
Gavin Kinsey
gavin.kinsey at accutest.co.uk
Wed Aug 7 09:18:03 BST 2002
Tony Hoyle wrote:
> 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.
They are going to have to do this anyway as the CVSROOT settings are
changing. I think it's better to do this than have a bunch of broken
and/or dead files in the repository.
>
> The correct way to rename a file is:
>
> cvs delete <oldfile>
> cvs add <newfile>
Which means you lose the revision history, precisley what I want to avoid.
More information about the cvsnt
mailing list