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

Re: Is there a way to unset the built-in -u option to diff command?

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Fri, 3 Apr 2009 14:57:24 -0400

>>>>> "Hari" == Hari Kodungallur <hkodungallur_at_gmail.com> writes:

> I am not sure if you are looking for something similar, but if
> you pass the following, it shows the unified diff with only the
> changed line.
> --diff-cmd diff -x "--unified=0"

The problem is that you can't get rid of the -u. Essentially, SVN
assumes that all possible things you might supply as diff-cmd are like
GNU diff. If you want to call a diff program for which -u isn't a
valid switch, you're stuck, short of wrapping it in a script to get
rid of the invalid swich.

An example is xxdiff.

   paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1534756

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 20:59:24 CEST

This is an archived mail posted to the Subversion Users mailing list.