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

Bug 1.6.0, Errorlevel not outputted correctly

From: Jonathan Kay <trekie99_at_hotmail.com>
Date: Sat, 28 Mar 2009 00:30:01 -0700 (PDT)

When using a batch file to update the repository, 1.6.0 is always outputting errorlevel 1, regardless if it was successful or not.

The expected behavior is errorlevel 0 when successful and errorlevel 1 when failed.

Quick batch file for testing:
TortoiseProc.exe /command:update /path:"c:\svn\" /closeonend:1 /notempfile

IF ERRORLEVEL=1 GOTO success
IF ERRORLEVEL=0 GOTO failure

:failure
echo Failed.
pause
exit

:success
echo Success.
pause
exit

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1453047

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-28 08:52:56 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.