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

--diff-cmd doesn't use -u per default

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Tue, 10 Jun 2008 10:10:58 +0200


I noticed that I had to rewrite my little vimdiff wrapper for svn diff
again for 1.5.x. In the past -u was provided as first argument, now it

$ svn help diff
  --diff-cmd ARG : use ARG as diff command
  -x [--extensions] ARG : Default: '-u'. When Subversion is invoking an
                             external diff program, ARG is simply passed along
                             to the program. But when Subversion is using its
                             default internal diff implementation, or when
                             Subversion is displaying blame annotations, ARG
                             could be any of the following:
                                -u (--unified):
                                   Output 3 lines of unified context.

$ svn diff --diff-cmd diff
Index: subversion/po/de.po
< # CHECKME: " :"?
< "A)bbrechen, Weitermac)hen, E)ditieren :\n"

> "A)bbrechen, Weitermac)hen, E)ditieren:\n"
Is this output style intented? If yes, it should maybe also mentioned in the svnbook.
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-10 10:14:34 CEST

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.