[PATCH 1 of 9 V2] largefiles: wrap "rebase.rebase" for functions using it directly
Martin von Zweigbergk
martinvonz at google.com
Wed Nov 5 10:57:44 CST 2014
On Wed Nov 05 2014 at 6:35:01 AM FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
wrote:
> diff --git a/hgext/largefiles/uisetup.py b/hgext/largefiles/uisetup.py
> --- a/hgext/largefiles/uisetup.py
> +++ b/hgext/largefiles/uisetup.py
> @@ -169,6 +169,8 @@
> if name == 'rebase':
> extensions.wrapcommand(getattr(module, 'cmdtable'), 'rebase',
> overrides.overriderebase)
> + extensions.wrapfunction(module, 'rebase',
> + overrides.overriderebase)
>
Do we still need to wrap the command or is it enough to wrap the function?
Does the command call the function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141105/c9041218/attachment.html>
More information about the Mercurial-devel
mailing list