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

Re: missing svn diff -p, -c

From: Tim Hill <tim_at_realmsys.com>
Date: 2005-04-05 02:01:28 CEST

Don't forget that you can setup a default diff-cmd value in your
configuration; less typing!

Zack Weinberg wrote:

>"Dale Worley" <dworley@pingtel.com> writes:
>
>
>
>>>From: Zack Weinberg [mailto:zack@codesourcery.com]
>>>
>>>'svn diff' appears only to be capable of generating "unified diff"
>>>format, i.e. equivalent to diff -u.
>>>
>>>
>>That is correct. Svn by default uses an internal diff routine that does not
>>support many of the features of Gnu diff. The way to avoid this is to use
>>"--diff-cmd=diff" to cause Subversion to use the normal diff command, and
>>then you can use -x to feed extra options to the invoked diff process.
>>
>>
>
>I see. That does work, but is sufficiently clumsy that I still would
>like to see the internal diff routine grow support for these two
>options.
>
>zw
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
Received on Tue Apr 5 02:09:09 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.