From 7d521ee22c1d5433b416509ca29f25d4b7a17dc9 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 2 Aug 2013 18:03:20 -0500 Subject: [PATCH] Allow destination paths in the hg module to include a tilde (~) Fixes issue #3360 - Inconsistent behavior of the hg module w.r.t. dest path --- library/source_control/hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/source_control/hg b/library/source_control/hg index e3e6ce71e20..65cce55acb7 100644 --- a/library/source_control/hg +++ b/library/source_control/hg @@ -211,7 +211,7 @@ def main(): ), ) repo = module.params['repo'] - dest = module.params['dest'] + dest = os.path.expanduser(module.params['dest']) revision = module.params['revision'] force = module.params['force'] purge = module.params['purge']