Manages Mercurial (hg) repositories. Supports SSH, HTTP/S and local address.

Options

namedescriptionrequiredchoices
repo The repository address. true
dest Absolute path of where the repository should be cloned to. true
revision Equivalent C(-r) option in hg command which could be the changeset, revision number, branch name or even tag.
force Discards uncommitted changes. Runs C(hg update -C). Prior to 1.9, the default was `yes`.
  • yes
  • no
purge Deletes untracked files. Runs C(hg purge).
  • yes
  • no
update If C(no), do not retrieve new revisions from the origin repository
  • yes
  • no
executable Path to hg executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.

Author

Yeukhon Wong (@yeukhon)