precommit mercurial hook to stop commits to the wrong branch

Faheem Mitha faheem at faheem.info
Wed Oct 9 21:01:25 UTC 2013


On Thu, 10 Oct 2013, Faheem Mitha wrote:

> I see there is also  http://mercurial.selenic.com/wiki/PythonHglib

> Is this perhaps what you meant? The description says

> "hgapi is a pure-Python API to Mercurial, that uses the command-line
> interface instead of the internal Mercurial API. The rationale for
> this is twofold: the internal API is unstable, and it is GPL."

Oops, it looks like I got hglib confused with a third package called
hgapi.

                                                               Faheem



More information about the Mercurial mailing list