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

Re: diff -u -b

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2003-05-02 12:04:59 CEST

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Fri May 2 19:06:28 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.