[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help Required

From: Rob Helmer
Subject: Re: Help Required
Date: Tue, 4 Mar 2003 23:15:20 -0800
User-agent: Mutt/1.3.28i

On Wed, Mar 05, 2003 at 12:16:51PM +0530, Amit Sharma (SCM) wrote:
> Hi All,
>       I have wrongly checked in one file with name ABC.TXT and want to
> rename the file to abc.txt  (All in small letters) Please suggest how should
> i go about it I do not have the access to the Server so that I can rename
> the file on the Server using telnet session
> Server:       SUSE LINUX Enterprise Edition 7.0
> Client :Wincvs1.2


You should never manipulate the repository directly.

Here is how to rename a file so that history is preserved ( in your CVS
checkout ) :

mv ABC.txt abc.txt
cvs rm ABC.txt
cvs add abc.txt
cvs commit -m "renamed ABC.txt to abc.txt" ABC.txt abc.txt

This way, anyone looking at the history for this file will clearly
see that it was renamed, and can look at the ABC.txt in the Attic
if they need to.

If you do the rename directly in the repository, the information
on when, why and by who it was renamed is lost.

Rob Helmer

reply via email to

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