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

[TSVN] tortoiseproc.exe return code

From: Jonathan Malek <jonathan.malek_at_gmail.com>
Date: 2004-09-19 22:49:24 CEST

I posted this on the users discussion forum a bit ago, and got no
response. I am using tortoiseproc.exe in a NAnt <exec> task, and
apparently it is returning an error code of 1, rather than 0, on
successful termination.

Example:
place the following in test.cmd:
"c:\Program Files\TortoiseSVN\TortoiseProc.exe" /command:update
/path:. /notempfile /closeonend
echo %ERRORLEVEL%

execute test in a controlled directory. The return value
will be 1. It should be 0.

Is this expected? Am I doing something wrong? For now, my workaround
is to add a failonerror attribute to the exec task, and ignore the
result--not a good long term solution.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 20 07:09:44 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.