(extensions) Is it possible to add hook dynamically under TortoiseHg?

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Sat Apr 23 11:00:13 UTC 2016


>> https://www.mercurial-scm.org/wiki/WritingExtensions
>> (chapter 10.1)
>
> The wiki is misleading or doesn't mention why only pre/post-* hook can happen
> to be set in uisetup(). (And that's why I said "in general".)

Could you elaborate? As I said, under „normal mercurial” everything
works perfectly.

The more I look at the things, the more I feel that TortoiseHg - if it
is to handle extensions „like mercurial does” - should simply process
hooks (at least pre- and post- hooks) on the „front side” of the
things (before/after passing request to command server). But have to 
take some deeper looks before being sure ;-)




More information about the Mercurial mailing list