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

Re: Show textual diff in a moved/copied file - how?

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 27 Feb 2018 09:13:48 +0100

On Mon, Feb 26, 2018 at 04:52:41PM -0800, Alexey Neyman wrote:
> Why is the behavior different in these cases? Isn't that counter-intuitive
> as well that the diff's output depends on the source revision of the copy?

I think these differences in behaviour boil down to side-effects of
the implementation.

On the server-side, all of diff/update/merge are driven by the same code,
the "reporter" in libsvn_repos. So when trying to fix diff one needs to be
careful not to break the other two.
I've always had a lot of fun whenever I dove in there...

In other words, it looks like a simple bug on the surface, but when you dig
in to figure out what needs fixing it gets tricky rather quickly.
Maybe diff needs a separate driver implementation on the server.
Received on 2018-02-27 09:14:31 CET

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

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