[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug Report: file Case conflict

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 18 Feb 2008 21:19:27 +0100

Helder wrote:
> Thanks Simon for your response.
>
> Yes it does not seem that we are communicating very well...
> when you say:
> If you are adding a file then it cannot already be versioned.
> I'm sorry to say, but you are wrong, that was my example, if
> you rename just the case of a file for example let's do
> "build.txt" to "Build.TXT" , for windows that is the same file,
> but you can add the second one!

Sure, because for Subversion, that's *not* the same file. (which is what
we've mentioned now *several* times).

And you can configure Windows so that NTFS considers those also separate
files.

> I have two answers to your question:
> so who is to say what the 'right' case is?
> 1- in the ".svn\text-base\" folder there is a copy of the files with
> the correct case

What makes you think that this is the correct case? That is simply the
case of a file as it is versioned now, but maybe not the case of the
file you like to have.

> 2- take a look at file File in the src\SVN folder:
> SVNStatusListCtrl.cpp
> look for the function:
> bool CSVNStatusListCtrl::BuildStatistics()

Yes, that's where TSVN corrects the case of files for common operations.

>
> As soon as I have some time I will try to add the option to
> auto adjust the file case at all times.

Sorry, that would be a waste of time. I will definitely *not* accept
such a patch. For reasons I have also mentioned before:

Sometimes it is necessary to rename a file only in case. If we would
'correct' the case when doing adds, that would not be possible anymore.
We would prevent the user from doing something that's wanted/required.

My advice: fix your script which you use to call TortoiseProc instead.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-18 21:19:50 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.