Skip to main content

Python API to Mercurial using the command-line interface

Project description

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.

hgapi works for Mercurial < 1.9, and will instantly reflect any changes to the repository, including changes to any applicable hgrc. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hgapi-1.2.0.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file hgapi-1.2.0.tar.gz.

File metadata

  • Download URL: hgapi-1.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hgapi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 effceb5a1130e785518d86f6fe3c301388b53776b892886043d1876cb3f9e9d5
MD5 ad317b8b2f181271eb6dd39b1eecc06f
BLAKE2b-256 b6d644a16f56bf431925eafaafde2d666861288a5413f0d6a7dd03c1737d2022

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page