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

Laust Rud Jensen laust.rud at spamcop.net
Sat Dec 14 11:48:23 GMT 2002


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
--
"It depends whether you are drinking from the side of the glass that
is half-full or half-empty." -- DNRC 





More information about the cvsnt mailing list