Mercurial > hgsubversion
changeset 753:b218d2bb8c45
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.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Thu, 18 Nov 2010 09:06:06 +0100 |
parents | bb64ad4ce982 |
children | caa527346a0f |
files | hgsubversion/__init__.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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():