Ilan Yaniv wrote:
> I changed the Perl script to be .exe file. YEEPEE it works.
> Now I want a message to be sent to the committer. Most of the
> people here use Tortoise, but even with command line, I want
> a message to be outputted not only to a log file but also to
> the standard output and the Tortoise window.
>
> What I was trying to do is to use Perl\Tk which is the Perl
> GUI library, and to show the user a message box with the
> warning. This only got my client to get stuck and the commit
> to fail, and many other problems, because there was no
> message window to the user.
>
> How do I send messages as output of the hook?
Send the message to STDERR instead of STDOUT and exit with a
non-zero exit status. The client then gets to decide what it
wants to do. Tortoise shows an error window.
(Success windows are out, afaik - no "thank you for your
submission"-window... ;-))
Best regards,
Ulli
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=985029
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 18:30:41 CET