On Thu, Sep 9, 2010 at 11:42 AM, Renat Golubchyk <[email protected]> wrote:
> Hi!
>
> I've written a commit hook that checks the formatting of the commit message 
> and writes some information to stderr in case of error (e.g. if the mentioned 
> bug number doesn't exist). Unfortunately TortoiseHG doesn't show anything 
> except of the exit code. On the command line everything works fine. I've 
> tested it on Windows and on Linux (Ubuntu).
>
> Is there a setting I'm missing that will allow TortoiseHG to show stderr or 
> is it just impossible? This hook is essential for me, otherwise I cannot use 
> Tortoise write now.

If it's a Python hook, write directly to the ui object passed to your
hook and you'll be fine.

On Linux, stderr is not captured to the GUI window because it causes
lockups on some systems.

There's an 'Always show output' checkbox that forces the output window
to always be shown.

-- 
Steve Borho

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to