Examples using Program.Setup method:
Python
#setup program stuff
def setup():
hg.Program.Notify("Python Test", "Hello Python")
return
hg.Program.Setup(setup)
Ruby
#setup program stuff
hg.Program.Setup(System::Action.new {
hg.Program.Notify("Ruby Test", "Hello Ruby")
})
Cheers,
g.