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

Re: Diff algorithm

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-04-24 00:34:29 CEST

On Apr 23, 2004, at 6:25 PM, Crucius, Wesley wrote:

> Hello everybody,
> Can anybody tell me if there is an easy way to make the SVN command
> line diff operation ignore whitespace differences?  (And of course how
> I might do that, not really just if it's possible)

Subversion's built in diff routines do not have that ability, but you
can tell it to use GNU diff if you want. Something like:

$ svn diff -r 1:2 svn://url/of/repos --diff-cmd /path/to/gnu/diff -x
"-u -b"

--diff-cmd takes the path to the diff program, -x takes the arguments
that should be passed to the diff command.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 24 00:34:55 2004

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.