[Cvsnt] Cvsnt case sensitive?

Brian Smith brian-l-smith at uiowa.edu
Wed Apr 24 00:18:30 BST 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.


Well, there is the situation that I call my file "foo.java". It won't
compile because the Java compiler enforces it to be called "Foo.java" if
it contains a public class named "Foo". If I checked in the file as
"foo.java" then everybody is screwed unless I can somehow change it to
"Foo.java".

This is the case with Windows clients as well.

- Brian

Tony Hoyle wrote:
> Brian Smith wrote:
>
>> I'm not sure I understand your problem. CVSNT will preserve the case of
>> the files; it it doesn't then that is a bug and you should report it
>> here. If another tool is changing the case of your files, then that is a
>> bug in that tool.
>>
>> Or, are you saying that when you check a file into the repository, you
>> want to later change the case of the file? If so, you need to remove the
>> old version (with the old capitalization) and then add the new version,
>> AFAIK.
>>
> I'm not actually sure that would work...  the RCS file would simply be
> resurrected
> with the old case.  There isn't an easy way around it - it doesn't
> affect windows clients obviously because they're not case sensitive.  If
> the file is checked in from a Linux client the case will be correct
> anyway (because if it wasn't the developer wouldn't have checked it
> in...) so you're looking at a situation where a windows developer has
> created a file in the wrong case then checked it in for a linux
> developer to use.  In that case you're probably going have to manually
> rename the file in the repository (and hit the offending windows
> developer over the head with a rubber mallet).
>
> Tony
>
> _______________________________________________
> Cvsnt mailing list
> Cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



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