mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
BUG: Removed extra quotes in hg.clone (not needed as cmd is already split as list) which was causing hg to abort on non-local repos like "ssh://...."
This commit is contained in:
parent
c63546fe33
commit
819ece0a99
@ -247,7 +247,7 @@ def clone(cwd, repository, opts=None, user=None, identity=None):
|
||||
salt '*' hg.clone /path/to/repo https://bitbucket.org/birkenfeld/sphinx
|
||||
'''
|
||||
_check_hg()
|
||||
cmd = ['hg', 'clone', '"{0}"'.format(repository), '"{0}"'.format(cwd)]
|
||||
cmd = ['hg', 'clone', '{0}'.format(repository), '{0}'.format(cwd)]
|
||||
if opts:
|
||||
for opt in opts.split():
|
||||
cmd.append('{0}'.format(opt))
|
||||
|
Loading…
Reference in New Issue
Block a user