[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: Crucius, Wesley <WCrucius_at_sandc.com>
Date: 2004-04-24 00:38:26 CEST

Thanks! Any ideas where I can get gnu diff for Win2k? Yeah, I know, but I have no choice in that matter...

-----Original Message-----
From: Garrett Rooney [mailto:rooneg@electricjellyfish.net]
Sent: Friday, April 23, 2004 5:34 PM
To: Crucius, Wesley
Cc: users@subversion.tigris.org
Subject: Re: Diff algorithm

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.

-garrett

---------------------------------------------------------------------
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:38:51 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.