[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 21 Mar 2012 16:57:52 +0000

Sérgio Basto <sergio_at_serjux.com> writes:

> Unfortunately I don't had time before end of the month or even more ,
> This random thing does not came in a good time .
> I use many svn diff to review my code ...
>
> So any ideas is appreciated.

You can get the old behaviour by downgrading APR to a version that does
not randomise the hash. Or you could rebuild the current APR with a
one-line patch to set ht->seed to 0 in apr_hash.c:apr_hash_make.

You could even use an LD_PRELOAD library to intercept apr_hash_make and
set the seed to zero at runtime.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-03-21 17:58:28 CET

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