mercurial/extensions.py
changeset 7373 d9e9dd2b00fb
parent 7215 0ab5f21c390b
child 7388 5751631246de
--- a/mercurial/extensions.py	Fri Nov 14 14:36:17 2008 +0100
+++ b/mercurial/extensions.py	Fri Nov 14 14:17:42 2008 +0100
@@ -99,6 +99,7 @@
         return wrapper(origfn, *args, **kwargs)
 
     wrap.__doc__ = getattr(origfn, '__doc__')
+    wrap.__module__ = getattr(origfn, '__module__')
 
     newentry = list(entry)
     newentry[0] = wrap