--- a/hgext/largefiles/uisetup.py Wed Apr 16 00:37:24 2014 +0900
+++ b/hgext/largefiles/uisetup.py Wed Apr 16 00:37:24 2014 +0900
@@ -65,10 +65,11 @@
debugstateopt = [('', 'large', None, _('display largefiles dirstate'))]
entry[1].extend(debugstateopt)
- entry = extensions.wrapcommand(commands.table, 'outgoing',
- overrides.overrideoutgoing)
+ outgoing = lambda orgfunc, *arg, **kwargs: orgfunc(*arg, **kwargs)
+ entry = extensions.wrapcommand(commands.table, 'outgoing', outgoing)
outgoingopt = [('', 'large', None, _('display outgoing largefiles'))]
entry[1].extend(outgoingopt)
+ cmdutil.outgoinghooks.add('largefiles', overrides.outgoinghook)
entry = extensions.wrapcommand(commands.table, 'summary',
overrides.overridesummary)
summaryopt = [('', 'large', None, _('display outgoing largefiles'))]