[PATCH 1 of 3] record: use uisetup() instead of extsetup()

Yuya Nishihara yuya at tcha.org
Mon Oct 12 22:59:42 UTC 2009


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1255384738 -32400
# Node ID a375344a9d886497f1032948cc7b41ea6af14bbe
# Parent  f0c5c59d878deeff7633ccd64894b0cbadc158d9
record: use uisetup() instead of extsetup()

uisetup() is now called after loading all extensions, since 1c83938b6a8e,
we don't need to use extsetup().

extsetup() is planned to make deprecated.

diff --git a/hgext/record.py b/hgext/record.py
--- a/hgext/record.py
+++ b/hgext/record.py
@@ -531,7 +531,7 @@ cmdtable = {
 }
 
 
-def extsetup():
+def uisetup(ui):
     try:
         mq = extensions.find('mq')
     except KeyError:



More information about the Mercurial-devel mailing list