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

Option to Disable Output Redirects on Client Side Hooks

From: Mike O'Brien <mob_at_mikeobrien.net>
Date: Fri, 22 Jan 2010 14:36:32 -0800 (PST)

In another post Stefan Küng wrote this about Client Side Hooks:

"You won't get any output in the dos/cmd box for a simple reason: TSVN
redirects that output to a file. It has to do that because otherwise
your script wouldn't be able to return a message/error to TSVN. For example, our own hook script which checks the file headers for the
correct copyright year before every commit writes an error message which is then shown in the progress dialog when the 'commit' fails."

Is there any way to disable the capture of the output? I'd like to utilize the post update script to display a warning to the developer under certain conditions. But since the output is captured the warning is not visible and the console window just sits there blank waiting for input (I basically display the warning with a pause).

If this isn't possible it would sure be nice to be able to do this. These client side hooks would be very useful for things that display information to the developer.

TIA!

m

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-22 23:38:26 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.