Change example syntax on subversion module

This commit is contained in:
Sam Doran 2016-10-13 09:41:12 -04:00 committed by Matt Clay
parent 8a1caba407
commit ad6999e2eb

View file

@ -104,14 +104,22 @@ options:
EXAMPLES = '''
# Checkout subversion repository to specified folder.
- subversion: repo=svn+ssh://an.example.org/path/to/repo dest=/src/checkout
- subversion:
repo: 'svn+ssh://an.example.org/path/to/repo'
dest: /src/checkout
# Export subversion directory to folder
- subversion: repo=svn+ssh://an.example.org/path/to/repo dest=/src/export export=True
- subversion:
repo: 'svn+ssh://an.example.org/path/to/repo'
dest: /src/export
# Example just get information about the repository whether or not it has
# already been cloned locally.
- subversion: repo=svn+ssh://an.example.org/path/to/repo dest=/srv/checkout checkout=no update=no
- subversion:
repo: 'svn+ssh://an.example.org/path/to/repo'
dest: /srv/checkout
checkout: no
update: no
'''
import re