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

Re: --diff-cmd question

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-19 16:27:50 CEST

"Jan Hendrik" <jan.hendrik@bigfoot.com> writes:

> Trying to use ExamDiff with the --diff-cmd I get the following error:

Is ExamDiff some well known Windows program? Does it accept command
line arguments similar to GNU diff? You may have to use a wrapper
program or script to convert the GNU style arguments to a form
acceptable to ExamDiff.

> D:\>svn diff -r BASE --diff-cmd d:\tmp\examdiff\examdiff.exe
> d:\tmp\testworkcopy
> \ridinger\niemeyer\prints\index.htm
> Index: D:/Tmp/TestWorkCopy/Ridinger/niemeyer/prints/index.htm
> =================================================
> ==================
> svn: Error calling external program
> svn: svn_io_run_cmd: error exitwhy 2 for process
> 'd:\tmp\examdiff\examdiff.exe'

The external diff program exited with a return value of 2. Subversion
expects the program to return 0 or 1. You may have to use the wrapper
program or script to convert the ExamDiff return value.

I don't know what an ExamDiff return value of 2 means but I'd guess it
indicates that the program failed, possibly because it doesn't
understand GNU diff style command line arguments.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 19 16:28:39 2003

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.