skip to navigation
skip to content

hgapi 1.1.0

Python API to Mercurial using the command-line interface

Downloads ↓ | Package Documentation

Latest Version: 1.2.0

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 threefold: the internal API is unstable, it is GPL, and it's not Python 3 compatible.

hgapi works for Mercurial > 1.2, and will instantly reflect any changes to the repository, unlike interfaces based on the CommandServer (http://mercurial.selenic.com/wiki/CommandServer). It also has a really permissive license (do whatever you want, don't blame me).

For example of code that uses this API, take a look at https://bitbucket.org/haard/autohook which now uses hgapi exclusively.

 
File Type Py Version Uploaded on Size # downloads
hgapi-1.1.0.tar.gz (md5) Source 2011-12-29 5KB 342
hgapi-1.1.0.zip (md5) Source 2012-01-19 7KB 366