You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Pilch-Bisson <ke...@pilch-bisson.net> on 2003/05/02 10:04:59 UTC

Re: diff -u -b

On Fri, May 02, 2003 at 12:29:50PM -0400, Stefan Monnier wrote:
> 
> I"m used to call diff with -u and -b as arguments, but I can't
> seem to get svn to accept that.  When I try it I get:
> 
> % svn diff -x -u -x -b vc-svn.el
> svn: The specified diff option is not supported
> svn: '-b' is not supported
> % svn diff -x "-u -b" vc-svn.el
> svn: The specified diff option is not supported
> svn: '-b' is not supported
> % svn diff --diff-cmd diff -x "-u -b" vc-svn.el
You almost have it here.

svn diff --diff-cmd=diff -x "-u -b" vc-svn.el
> Index: vc-svn.el
> ===================================================================
> svn: Error calling external program
> svn: 'diff' returned 255
> % 
> 
> [...]
> 
> Oh now I found something:
> 
> % svn diff --diff-cmd /usr/bin/diff -x "-u -b" vc-svn.el
> 
> That's pretty inconvenient.  I shouldn't have to give the full path.
> And I think the built-in diff should accept the -b argument.
> 
> 
>         Stefan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~