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

Re: diff wish

From: Branko Čibej <brane_at_e-reka.si>
Date: Thu, 16 Jun 2011 13:24:43 +0200

On 16.06.2011 12:38, Neels J Hofmeyr wrote:
> On 06/15/2011 02:44 PM, Branko Čibej wrote:
>> GNU diff is a general-purpose diff tool. 'svn diff' is not.
> Then again, we now have 'svn patch' because some platforms "lack" general
> purpose commandline diff/patch tools. And we do already have specific
> tweaking options for the internal diff: -u, -b, -w, --ignore-eol-style, -p.

Indeed, but all of these are tailored to the Subversion's needs, whereas
GNU diff can be used in a myriad other environments. For example, "svn
diff" always produces unified diff output; GNU diff also does context
diffs, ed scripts, etc. etc -- none of which we really need or want in
our implementation.

We should just keep in mind that it is /not/ the goal of this exercise
to produce a general-purpose diff tool to compete with GNU diff.

-- Brane
Received on 2011-06-16 13:25:20 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.