I want to obtain the current Mercurial version from inside a Python hook. I could just shell execute hg --version, but I thought I'd ask around for a cheaper, more direct way. Is there any global function or constant that I could use? If it matters, I'm on Mercurial 4.0 (Debian 9).
_______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel