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

Olaf Groeger Olaf.Groeger at gmx.de
Sat Dec 14 21:50:03 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.

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 ?


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