Support for in-process Python custom tools, by analogy with hg's in-process hooks
Created originally on Bitbucket by gstefanik (Gábor Stefanik)
Right now, only commands beginning with "thg" are executed in-process when called as a custom tool. As a developer, I only have the options to write a separate tool (which will be executed using subprocess.Popen with a predefined shortlist of variables), or a Hg extension (which will execute using commandserver).
I would like to do the equivalent of a Hg in-process hook, i.e. writing "python:C:\whatever.py:whatever" as the tool command, which passes runCustomCommand's parameters to the function whatever() in C:\whatever.py