I want to use a special extension, but for certain reasons I want to avoid to modify my Mercurial installation and touch existing Mercurial.ini
or .hg/hgrc
files. Usually, I invoke a command like
hg --config extensions.hgext.foo=c:\path\to\my\extension.py ...
If I would write just
hg --config extensions.hgext.foo=extension.py ...
where Mercurial would search for extension.py
? Is there a way to configure an environment variable where I can add/set c:\path\to\my
path, so Mercurial would find extensions.py
without specifying the full path?