What is the procedure for sending output to the TortoiseHg window?  I have a
hook in python:

example.py
-----------------
from mercurial import ui

def saysomething(ui, repo, **kwargs):
    ui.status('today is 26-May')
-----------------

And I have set my global .hgrc to call this as a commit hook:
-----------------
[hooks]
commit = python:/path/to/example.py:saysomething
-----------------


But I'm not seeing the message appear anywhere.  It appears when I commit
via command line, just not via the Tortoise GUI.  I must be missing
something really simple to wire it up properly.

I've seen threads related to this at
http://sourceforge.net/mailarchive/message.php?msg_id=26130951 ,
http://sourceforge.net/mailarchive/message.php?msg_id=23001197 , and
http://sourceforge.net/mailarchive/message.php?msg_id=22376150 , but they
seem to leave out a fundamental detail that I can't figure out.



Thanks,
Jerry
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to