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

Re: vimdiff wrapper for diff-cmd not working with 1.8

From: Michael Schlottke <m.schlottke_at_aia.rwth-aachen.de>
Date: Wed, 26 Jun 2013 17:34:15 +0200

On Jun 21, 2013, at 15:23 , Philip Martin wrote:
> Another user raised the issue
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=4382
>
> Using '--diff-cmd colordiff' to get coloured output no longer works.
>
> Here's a solution that requires the user to mark the command as
> requiring direct access. Log and patch:
>
> Allow the user to bypass the temporary spool file when invoking an
> external diff command. This allows commands that expect to see
> a terminal to work. The user adds the prefix 'svn:direct:' to the
> command and Subversion passes the stream's file rather than creating
> a spool file. So
>
> --diff-cmd foo
>
> runs foo with a spool file and
>
> --diff-cmd svn:direct:foo
>
> runs foo with the stream's file.

I can confirm that your patch works for me (OS X Lion and Linux). Thanks for the quick fix! Keeping my fingers crossed that this will make it into the repository soon.

Michael

  • application/pkcs7-signature attachment: smime.p7s
Received on 2013-06-26 17:35:18 CEST

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.