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

Re: Re: RE: Repobrowser - Numeric order filename sorting

From: Joakim Simonsson <nospam_at_joakims.com>
Date: 2006-04-11 16:18:56 CEST

Pĺ Tue, 11 Apr 2006 13:07:11 +0200, skrev Stefan Küng""
<tortoisesvn@gmail.com>:

>> It doesn't stop at the first '.'
>> And the function will handle v1.3.2, v1.7.8 and alike correctly.
>> Just check it carefully :-)
>
> Well, the '.' isn't an alpha char, but it's not a numeric char either.
> So it will stop there.
> At least it will on my system, because the '.' is not the decimal
> separator. But of course, since the project is kept english, the dot
> is used for the tag names.
>

I haven't studied your function, so maybe it takes care of this suggestion:
I think it would be a good idea to allow this:

v1m2b4
v1m2b6
v1m6b2
v1m30b4
v2m1b1

Meaning that the function doesn't care if it is a '.', a '-', or a ','.

So it would be enough to determine if its a numerical value (0-9) or a
non-numerical value.

-- 
Joakim
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 11 16:19:24 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.