Before using hg over ssh, make sure the remote host fingerprint already exists in ~/.ssh/known_hosts, and the remote host has this host's public key.
https://bitbucket.org/example_user/example_repo:
hg.latest:
- rev: tip
- target: /tmp/example_repo
Make sure the repository is cloned to the given directory and is up to date
Address of the remote repository as passed to "hg clone"
The remote branch, tag, or revision hash to clone/pull
Target destination directory path on minion to clone into
Force a clean update with -C (Default: False)
Name of the user performing repository management operations
New in version 0.17.0.
Private SSH key on the minion server for authentication (ssh://)
New in version 2015.5.0.
Force hg to clone into pre-existing directories (deletes contents)
Include additional arguments and options to the hg command line
Should we update the head if new changes are found? Defaults to True
New in version 2017.7.0.