(added in 2.3)
Absolute path of where the repository should be cloned to. This parameter is required, unless clone and update are set to no
(added in 1.4)
Path to hg executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.
Discards uncommitted changes. Runs
Deletes untracked files. Runs
The repository address.
(added in 2.0)
# Ensure the current working copy is inside the stable branch and deletes untracked files if any. - hg: repo: https://bitbucket.org/user/repo1 dest: /home/user/repo1 revision: stable purge: yes # Example just get information about the repository whether or not it has # already been cloned locally. - hg: repo: git://bitbucket.org/user/repo dest: /srv/checkout clone: no update: no
known_hosts. SSH will prompt user to authorize the first contact with a remote host. To avoid this prompt, one solution is to add the remote host public key in
/etc/ssh/ssh_known_hostsbefore calling the hg module, with the following command: ssh-keyscan remote_host.com >> /etc/ssh/ssh_known_hosts.
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.