Mercurial > hg-stable
changeset 38192:dea3903175ee
filemerge: don't pass function name as loadpath's module_name param
author | hindlemail <tom_hindle@sil.org> |
---|---|
date | Thu, 24 May 2018 15:56:47 -0600 |
parents | 4e790f0966fc |
children | c974320d20b9 |
files | mercurial/filemerge.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/filemerge.py Tue May 22 18:10:37 2018 +0200 +++ b/mercurial/filemerge.py Thu May 24 15:56:47 2018 -0600 @@ -574,7 +574,7 @@ try: # avoid cycle cmdutil->merge->filemerge->extensions->cmdutil from . import extensions - mod = extensions.loadpath(toolpath, 'hgmerge.%s' % scriptfn) + mod = extensions.loadpath(toolpath, 'hgmerge.%s' % tool) except Exception: raise error.Abort(_("loading python merge script failed: %s") % toolpath)