RE: random, unpredictable sort of svn diff
> -----Original Message-----
> From: Ivan Zhakov [mailto:ivan_at_visualsvn.com]
> Sent: maandag 9 mei 2016 09:53
> To: dev_at_subversion.apache.org; vincent-svn_at_vinc17.net
> Subject: Re: random, unpredictable sort of svn diff
> On 8 May 2016 at 16:55, Vincent Lefevre <vincent-svn_at_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-
> > 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.
> Ivan Zhakov
Received on 2016-05-09 10:09:59 CEST
This is an archived mail posted to the Subversion Dev