changeset 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 5858117a0077
children d29bd00bbc50
files hgext/record.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: