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

[TSVN] Re: TortoiseSVN not displaying standard error text in error message

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-12-10 18:53:55 CET

Mitch Arends wrote:

>> The .bat file looks like the following:
>> perl C:\SVNScripts\check-case-insensitive.pl -debug -debug -debug %1
>> %2
>>
>> IF ERRORLEVEL 1 GOTO :ERROR
>> exit 0
>>> ERROR
>> REM echo Error found in commit 1>&2
>> exit 1
>>
>> I used the lines in the Perl script to created the .bat file. Thanks
>> in advance.
>
> I just notice that the .bat file might be a little misleading - I
> disabled the ECHO command on purpose. Even w/ the command enabled,
> TortoiseSVN does not return the error message from the Perl script.

Do you need to add 1>&2 to the end of the perl command line? I don't
understand perl so I can't tell if it is writing to stdout or stderr.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 10 19:25:29 2004

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

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