[PATCH] hook: fix typo in pre-assigned, dynamically loaded module name
Henrik Stuart
hg at hstuart.dk
Sat Aug 8 10:45:50 UTC 2009
# 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()
More information about the Mercurial-devel
mailing list