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

Svn diff

From: Kota, Sreenivasa ShravanaKumar <shravanakumar.ks_at_hp.com>
Date: Tue, 19 Feb 2008 07:01:32 +0000

Users,

I would like to use svn diff with the following options

--diff-cmd /usr/bin/diff
-r 2145

Is it possible to pass both the arguments to svn diff ?

I am getting the following error.

Svn diff -r 2145 --diff-cmd /usr/bin/diff 2.x

Index: 2.x
===================================================================
/usr/bin/diff: illegal option -- u
        usage: diff [ -C n ] [ -S name ] [ -bcefhilnrstw ] dir1 dir2
                diff [-C n ] [ -bcefhintw ] file1 file2
                diff [ -D string ] [ -biw ] file1 file2
svn: '/usr/bin/diff' returned 2

Any hints on how to use revision and external diff command in svn diff command ?

Thanks & Regards,
Shravana Kumar
Received on 2008-02-19 08:02:38 CET

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.