diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-01-29 18:17:48 -0800 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-01-29 18:27:35 -0800 |
commit | be744ce5e78f217eb34c4d369847f1e174da9ae6 (patch) | |
tree | 9a937489d1aaa3a65040d4401fcd09f0859eaf06 | |
parent | 753a3ba3828e6e5c1b03c01e8ec8b4a16621a505 (diff) | |
download | ansible-modules-core-be744ce5e78f217eb34c4d369847f1e174da9ae6.tar.gz |
Reverse the force parameter for the hg module
-rw-r--r-- | source_control/hg.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source_control/hg.py b/source_control/hg.py index c2bd0d9d..d83215fa 100644 --- a/source_control/hg.py +++ b/source_control/hg.py @@ -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), ), |