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

Re: svn diff ignores switches specified with `-x'

From: Robert Pluim <rpluim_at_bigfoot.com>
Date: 2003-03-14 21:57:32 CET

Garrett Rooney writes:
> Eric Hanchrow wrote:
>
> >This is the bug -- I expected svn diff to report no differences,
> >since I thought I told it to ignore whitespace.
> >
>
> this is a known problem. current versions of svn use our internal diff
> library, which doesn't have support for the various flags you used to be
> able to pass to gnu diff via svn's -x option. if you want those
> options, you can use the --diff-cmd option (i think that's the option, i
> might be wrong, as i don't have an svn install on this machine) use gnu
> diff instead of the built in diff library.

To always use external diff, you can put the following in your
~/.subversion/config file:

[helpers]
diff-cmd = /usr/local/bin/gdiff
diff3-cmd = /usr/local/bin/gdiff3
# This one depends on which version of gnu diff you have,
# check its man page (sorry, info file).
#diff3-has-program-arg = false

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 14 21:57:56 2003

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.