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

Reverse the force parameter for the hg module

This commit is contained in:
Toshio Kuratomi 2015-01-29 18:17:48 -08:00 committed by Matt Clay
parent d741b57b91
commit 52d769d36c

View file

@ -54,9 +54,10 @@ options:
aliases: [ version ]
force:
description:
- Discards uncommitted changes. Runs C(hg update -C).
- Discards uncommitted changes. Runs C(hg update -C). Prior to
1.9, the default was `yes`.
required: false
default: "yes"
default: "no"
choices: [ "yes", "no" ]
purge:
description:
@ -207,7 +208,7 @@ def main():
repo = dict(required=True, aliases=['name']),
dest = dict(required=True),
revision = dict(default=None, aliases=['version']),
force = dict(default='yes', type='bool'),
force = dict(default='no', type='bool'),
purge = dict(default='no', type='bool'),
executable = dict(default=None),
),