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

Re: Review Request: svn.fs.FileDiff

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Tue, 13 Feb 2018 04:49:18 +0000

On Sun, Feb 11, 2018 at 4:33 PM Daniel Shahaf <d.s_at_daniel.shahaf.name>
wrote:

> Troy Curtis Jr wrote on Sun, 11 Feb 2018 16:10 +0000:
> > I'm asking for comments because the actual diff output given when
> > 'diffoptions' is None, is changed.
> ...
> > Thoughts?
>
> 1. We have two consumers of FileDiff in tools/. Check whether they are
> affected?
>
>
tools/examples/svnlook.py calls with diffoptions, so it is unaffected as
using args will call the executable (since that is obviously the desire
having given arguments).

tools/hook-scripts/mailer/mailer.py's output would be changed. There are
also other headers output on various conditions that mailer.py detects,
like adding and removing files. The more I look at it the more I think
that perhaps the backwards compatible change of defaulting diff options to
'[]' and checking specifically for 'None' to use the internal tool would be
the way to go. That way you can actually get to the internal subversion
diff implementation if you want, but the default behavior doesn't change.

Troy

> 2. We might include the change in an alpha/beta release to give it more
> testing.
>
> (#2 applies to FSFS's new verify-before-commit knob, too.)
>
> Cheers,
>
> Daniel
>
Received on 2018-02-13 05:49:36 CET

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

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