I have installed Mercurial as a Python package. Now I want TortoiseHg to work with them. However, all versions of TortoiseHg are bundled with its own version of hg and Python libraries. How do I make sure that TortoiseHg is using Mercurial which I have installed?
Share
It is good to test compatibility with both official Mercurial binaries and TortoiseHg.
They are organized the same way. Namely, all Python binaries are stored in
library.zipSo to make your extension working with either of these bundles, you need to include your extensions (either in
.pyor.pycform) intolibrary.zipand configure the extensions inMercurial.ini.While it may be possible to force TortoiseHg to use another Mercurial installation, it is better to offer users of your extension a way to use it without adding extra Mercurial installations to their systems. So you can just provide an instruction on how to integrate your extension into
library.zip.