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

AW: diff wish

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Wed, 15 Jun 2011 13:30:29 +0200

Hi, Johan,

Von: Johan Corveleyn [mailto:jcorvel_at_gmail.com]
> But I'm not convinced that we should simply drop support for "minimal
> diffs" when we arrive at the point that we have a "nice" format. A "nice"
> diff will always be based on heuristics, taking guesses at what should be
> considered a deletion, an addition, or a common line. It's a matter of
> interpretation. So there will always be a chance that it guesses wrong,
> and totally mis-synchronizes. It may be rare, but IMHO it's impossible to
> completely avoid this.

If "mis-synchronizes" means that it produces a broken output when applied on the input, then this should be avoided for every price. A "nice" diff must still be a valid diff producing the correct output. But AFAICS this was never questioned.

If you have a different definition of "mis-synchronizes", please explain.

Best regards

Markus Schaber
Received on 2011-06-15 13:31:11 CEST

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.