diff hgext/record.py @ 9710:1765599f4899

record: use uisetup instead of extsetup to register qrecord New commands should be registered in uisetup so that other extensions have a change of wrapping them in extsetup.
author Martin Geisler <mg@lazybytes.net>
date Thu, 05 Nov 2009 01:10:43 +0100
parents dd5a16ad420e
children b13474cd1496
line wrap: on
line diff
--- a/hgext/record.py	Wed Nov 04 15:18:19 2009 +0100
+++ b/hgext/record.py	Thu Nov 05 01:10:43 2009 +0100
@@ -531,7 +531,7 @@
 }
 
 
-def extsetup():
+def uisetup(ui):
     try:
         mq = extensions.find('mq')
     except KeyError: