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

[TSVN] Re: Bug in commit of unversioned folders/files

From: Jens Scheidtmann <Jens.Scheidtmann_at_bayerbbs.com>
Date: 2005-01-04 08:41:40 CET

Will Dean <svn@indcomp.co.uk> writes:

> Can we be confident that an ascending lexical sort of path names
> would always give the right order to add/commit stuff in?

I don't think so. Because you really don't know wether "/" or "\" are
less than "" (empty char), " " (space) or "\t" (tab).

I.e. if these characters are placed before, between or after lower and
upper isalpha() chars depends on locale and code page. It's the same
for umlauts.

E.g. I once had interesting effects with lexical order between Access
and Oracle. Oracle ignored whitespace for comparision purposes in
german locale:

Oracle:

aaaa
aaa b
aaac

Access:

aaa b
aaaa
aaac

-- 
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 4 08:42:23 2005

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.