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

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

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-04 09:08:08 CET

At 08:41 04/01/2005 +0100, you wrote:

>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).

Yes, but we're only comparing file paths, where there is a restricted set
of chars, and some of them have very specific meanings.

We're only trying to ensure that sub-directories come after their parents,
where both are in the list.

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

I won't argue that lexical order isn't a difficult business, but can you
come up with some example paths (parents and children) where sorting them
doesn't put them into parent-child order?

I'm not sure if such examples exist - I can't think of any, but that means
nothing.

Cheers,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 4 09:08:49 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.