Description
Mercurial repositories can be inspected and controlled from Python through the hg command-line interface. Developers use this API for automation, tooling, and repository workflows. Commands can change working trees and expose commit history, so arguments and logs should be reviewed.