TortoiseHG let's you add custom toolbar tools that can run mercurial (or any other) commands.
These tools would be many times more useful if it is possible to integrate them better into THG by passing them arguments from THG itself. For instance, pass a command the list of files you have selected in the working directory view.
I have seen a small handful of examples of doing this but I can't find any comprehensive documentation on what params are available, etc.
Checking the TortoiseHG documentation, it actually doesn't even list the custom tools topic at all (seems to be quite out of date).
Pressing F1 in THG doesn't do anything either... and web searches have not turned up anything.
question from:https://stackoverflow.com/questions/66068386/what-parameters-can-be-used-in-tortoisehg-custom-tools