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

Re: random sort of svn status and svn diff

From: Sérgio Basto <sergio_at_serjux.com>
Date: Wed, 21 Mar 2012 07:32:04 +0000

On Wed, 2012-03-21 at 07:25 +0000, Sérgio Basto wrote:
> Hi, Dev list , I want to fix random sort of svn status and svn diff, on
> recent code of svn, it just put a sort somewhere, could someone point me
> the directory in the source code, where is the code of svn frontend
> commands like diff and status ?

Sorry I though that I am forwarding whole message,
where is the rest of the thread:

> >> > Hi, I am facing a problem
> >> > I do a svn diff | lsdiff
> >> > I got file in random order , also happens with svn status
> >>
> >> Correct, Subversion does not output these in a sorted order.
> >
> > but one month ago , svn diff have always same output , now it is
> > random , is a bug or regression.
> That's the result of a change in the APR hash table implementation.
> Subversion often uses "hash order" and in the past this was always the
> same for a given set of hash keys. The new APR implementation means
> that this order is no longer constant.

Sérgio M. B.
Received on 2012-03-21 08:32:43 CET

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