record: use uisetup instead of extsetup to register qrecord
authorMartin Geisler <mg@lazybytes.net>
Thu, 05 Nov 2009 01:10:43 +0100
changeset 9710 1765599f4899
parent 9709 5858117a0077
child 9711 d29bd00bbc50
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.
hgext/record.py
--- 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: