> -----Original Message-----
> From: Ivan Zhakov [mailto:i...@visualsvn.com]
> Sent: maandag 9 mei 2016 09:53
> To: dev@subversion.apache.org; vincent-...@vinc17.net
> Subject: Re: random, unpredictable sort of svn diff
> 
> On 8 May 2016 at 16:55, Vincent Lefevre <vincent-...@vinc17.net> wrote:
> > Hi,
> >
> > The output of "svn diff" is still in random order (not even
> > pseudo-random, completely unpredictable). There had been discussions
> > in the past to fix this, e.g.
> >
> >   https://mail-archives.apache.org/mod_mbox/subversion-
> users/201203.mbox/%3C1332298973.3028.17.camel@segulix%3E
> >
> > What's the status?
> >
> > I haven't found a bug on this subject on Jira.
> >
> I'm getting stable sorted output when using Subversion 1.9.3:
> $ touch a b c
> $ svn add a b c
> $ svn diff
> Index: a
> ==========================================================
> =========
> Index: b
> ==========================================================
> =========
> Index: c
> ==========================================================
> =========
> 
> The same for svn st

This really depends on what diff driver you use. 
Local diff uses 'svn status' to determine what to show, so this is 100% stable 
in recent versions, but once you diff against the repository the diff is 
generated in the ordering in which the server (or the ra layer) reports its 
changes, which is mostly based on how things are stored in an apr hash in 
libsvn_repos which performs the tree diff server side.

        Bert

> 
> --
> Ivan Zhakov

Reply via email to