1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Change example syntax on hg module

This commit is contained in:
Sam Doran 2016-10-13 09:40:34 -04:00 committed by Matt Clay
parent 1c801ac574
commit 8a1caba407

View file

@ -95,11 +95,19 @@ requirements: [ ]
EXAMPLES = '''
# 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
- 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
- hg:
repo: 'git://bitbucket.org/user/repo'
dest: /srv/checkout
clone: no
update: no
'''
import os