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

Re: Repobrowser - Numeric order filename sorting

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-12 21:20:47 CEST

Gerasimov, Ivan wrote:

> The original routine was used as a 'less' comparator (it was
> mentioned in its name - CompareNumericLess). That's what stl's sort
> needs.

Ah. Thanks for the explanation.

>> I've tried it with the repobrowser on the Subversion tags folder.
>> There, you'll see that 0.37 comes *after* 0.6 and 0.7 (it's only
>> the 0.37 that's wrong, all others are sorted correctly). Strange, I
>> know, but I haven't found out why yet.
>
> I'm not getting something. Both 6 and 7 are less then 37. They should
> go first, shouldn't they?
>
> Attached picture is what repo-browser looks like. Everything is fine
> to me.

Looks ok.
Can you please send the patch? Maybe I messed up your function when I
copied it over to Utils.cpp and that's why it didn't work for me.

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 Apr 12 21:23:01 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.