[PATCH] hook: fix typo in pre-assigned, dynamically loaded module name
Steve Borho
steve at borho.org
Sat Aug 8 12:02:12 CDT 2009
On Sat, Aug 8, 2009 at 5:45 AM, Henrik Stuart<hg at hstuart.dk> wrote:
> # HG changeset patch
> # User Henrik Stuart <hg at hstuart.dk>
> # Date 1246644573 -7200
> # Node ID 7a29118e4ef193a50acb58cb458452e39cd5c826
> # Parent 648d6a1a1cf25c3471b57e07f52746276a2c81ee
> hook: fix typo in pre-assigned, dynamically loaded module name
>
> diff -r 648d6a1a1cf2 -r 7a29118e4ef1 mercurial/hook.py
> --- a/mercurial/hook.py Fri Aug 07 19:27:54 2009 -0700
> +++ b/mercurial/hook.py Fri Jul 03 20:09:33 2009 +0200
> @@ -112,7 +112,7 @@
> elif cmd.startswith('python:'):
> if cmd.count(':') == 2:
> path, cmd = cmd[7:].split(':')
> - mod = extensions.loadpath(path, 'hgkook.%s' % hname)
> + mod = extensions.loadpath(path, 'hghook.%s' % hname)
> hookfn = getattr(mod, cmd)
> else:
> hookfn = cmd[7:].strip()
This was already fixed on crew-stable by a fix I pushed yesterday.
--
Steve Borho
More information about the Mercurial-devel
mailing list