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

Re: Repo browser numerical sort

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-10 20:13:54 CEST

Gerasimov, Ivan wrote:
> Hi, Stefan!
>
> Please see the attached file for the patch to the comparing routine.
>
>>> It's a bit trickier than just adding NORM_IGNORECASE flag to the
>>> CompareString's parameters.
>
>> I hope it's not too tricky :)
>
> Not at all :-) The only tricky thing had to be done was to handle
> file names, which are same if compared case insensitively. If only
> the IGNORECASE flag was added, the result might look ugly - look at
> the screenshot in Repo_WrongSort.png.
>
> So for this special case, case sensitive comparing is still used.
> Thus, files with the same names (in case insensitive sense) are
> sorted case sensitively, like on the screenshot Repo_CorrectSort.png.

Thanks for the patch!
Committed in revision 6467.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 10 20:16:31 2006

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

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