From e5822b5342ab8028fdfb78f0ba30f73f58b5821d 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 --- source_control/hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_control/hg b/source_control/hg index e3e6ce71e20..65cce55acb7 100644 --- a/source_control/hg +++ b/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']