# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1290067566 -3600 # Node ID b218d2bb8c45e4fbe24ff2ddd2e472b8c0e60766 # Parent bb64ad4ce982666f971fb808f14f123c57b4fd67 rename our uisetup initialization method into extsetup We're not doing any ui-specific setup, so we can use the old form and remain compatible with Mercurial 1.3. diff --git a/hgsubversion/__init__.py b/hgsubversion/__init__.py --- a/hgsubversion/__init__.py +++ b/hgsubversion/__init__.py @@ -104,8 +104,10 @@ try: except ImportError: pass -def uisetup(ui): +def extsetup(): """insert command wrappers for a bunch of commands""" + # add the ui argument to this function once we drop support for 1.3 + docvals = {'extension': 'hgsubversion'} for cmd, (generic, target, fixdoc, ppopts, opts) in wrapcmds.iteritems():