[cvsnt] Re: Renaming a file problem (case sensitive)

Alexandre Augusto Drummond Barroso adrummond at bdmg.mg.gov.br
Mon Dec 16 19:30:51 GMT 2002

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

I had a similar problem, and solved it renaming the file in the server repository and giving to developers that use WinCVS a macro to rename the file in CVS/Entries and in file system.


-----Original Message-----
From: Olaf Groeger [mailto:Olaf.Groeger at gmx.de]
Sent: Saturday, December 14, 2002 6:50 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Re: Renaming a file problem (case sensitive)

Laust Rud Jensen wrote:

> Saturday, December 14, 2002, 10:45:35 AM, you wrote:
>> <posted & mailed>
>> Olaf Groeger wrote:
>>> Hi,
>>> i'm looking for a way to rename a file concerning upper and lower
>>> letter, for instance from Foo.txt to foo.txt.
>>> What i tried is to remove the file from cvs and re-add it with the new
>>> name. This works for my sandbox. In the repository the file is now
>>> foo.txt,v. But if i perform an update to another sandbox the old
>>> filename Foo.txt is kept, probably because the files name is still
>>> Foo.txt in the CVS/Entries file of this sandbox. So currently the only
>>> way i see is to execute a checkout of the foo.txt directory, isn't it ?
>> You can't do this on an NT server because the files are the same whatever
>> the case.  This does frustrate Unix clients somewhat but the general
>> answer is not to try to store different files with the same name in the
>> repository.
>> Tony
> Hi Olaf,
> A work-around would be to remove the old file from cvs as you have
> done. And then ensure that everybody has updated. After that, you check
> in the file with the new casing of the filename. That should do the
> trick.
> /Laust

yes, a good idea. The first update will delete the file from the 
CVS/Entries, the second adds it with the new name. Why do cvs rename the 
file to the notation of CVS/Entries while updating instead of changing 
CVS/Entries to the notation of the file in the repository ?


cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RenameLocalEntry.py
Type: application/octet-stream
Size: 2075 bytes
Desc: RenameLocalEntry.py
Url : http://www.cvsnt.org/pipermail/cvsnt/attachments/20021216/22151cec/attachment.obj 

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook