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

Re: Sorted output from Subversion commands

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-02-22 23:00:18 CET

On Tue, 2005-02-22 at 16:39, Branko Čibej wrote:
> So, a while ago there was a discussion on the GCC list and later on
> #svn-dev about how "svn diff" output should be sorted.

Also see http://svn.haxx.se/dev/archive-2003-10/0569.shtml and
http://svn.haxx.se/dev/archive-2004-06/0000.shtml and their follow-ups.

> At the time, I naïvely thought that sorting the entries list and
> returning a modified hash table that supports in-order traversal would
> do the trick. Then I went digging into the code, and it turns out that's
> not enough. Unfortunately, our public APIs return an apr_hash_t. And,
> this not being C++, there's no way to override that tables traversal order.

We have svn_sort__hash(). It's used in libsvn_subr/hash.c for hash
dumps, for instance.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 22 23:02:10 2005

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

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