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

diff with --diff-cmd errors out

From: Michael L Brown <michael.l.brown_at_philips.com>
Date: 2005-06-16 21:27:31 CEST

I get an error when trying to do the following:

soldev57.ZCURR <148> svn diff --diff-cmd /usr/bin/diff -x "-C 1"
Index: ReleaseFileList
/usr/bin/diff: illegal option -- L
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name]
directory1 directory2
svn: '/usr/bin/diff' returned 2

I personally prefer context diffs and tried to do what the manual
suggests, but as you can see from the above, it appears that svn is
passing a -L option to diff and it is falling over because of it. Any way
to fix that?


Mike Brown (Michael.L.Brown@Philips.com)
            Lotus Bloats: Michael L Brown/MSN/MS/PHILIPS
Philips/ADAC, Madison, WI
Desk: 608-288-6969 Fax: 608-298-2101
PMS direct: 164-6969
You design it, I'll build it!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 16 21:43:21 2005

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.