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
This commit is contained in:
James Cammarata 2013-08-02 18:03:20 -05:00
parent fea38f44ac
commit e5822b5342

View file

@ -211,7 +211,7 @@ def main():
), ),
) )
repo = module.params['repo'] repo = module.params['repo']
dest = module.params['dest'] dest = os.path.expanduser(module.params['dest'])
revision = module.params['revision'] revision = module.params['revision']
force = module.params['force'] force = module.params['force']
purge = module.params['purge'] purge = module.params['purge']