mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #4432 from madsweitling/devel
Fix typo and broken "Hg.__init__" in 'hg' module
This commit is contained in:
commit
16947041d1
1 changed files with 9 additions and 9 deletions
|
@ -124,7 +124,7 @@ class Hg(object):
|
|||
self.dest = dest
|
||||
self.repo = repo
|
||||
self.revision = revision
|
||||
self.hg_path = self.hg_path
|
||||
self.hg_path = hg_path
|
||||
|
||||
def _command(self, args_list):
|
||||
(rc, out, err) = self.module.run_command([self.hg_path] + args_list)
|
||||
|
@ -234,7 +234,7 @@ def main():
|
|||
revision = module.params['revision']
|
||||
force = module.params['force']
|
||||
purge = module.params['purge']
|
||||
hg_path = module.parames['executable'] or module.get_bin_path('hg', True)
|
||||
hg_path = module.params['executable'] or module.get_bin_path('hg', True)
|
||||
hgrc = os.path.join(dest, '.hg/hgrc')
|
||||
|
||||
# initial states
|
||||
|
|
Loading…
Reference in a new issue