wrapping the fetch command

David Roguin nesdavid at gmail.com
Fri Jan 14 15:22:44 CST 2011


Hi,

I want to wrap the fetch command or the fetch function. I've tried this with
so far:

extensions.wrapcommand(commands.table, 'fetch', _fetch)
and
extensions.wrapfunction(extensions.find('fetch'), 'fetch', _fetch)

neither of them is working, I believe commands.table doesn't contain
extensions commands, and I really don't have a clue about was going on with
the wrapfunction.
Inside of _fetch is ui.write("fetching") but nothing is printing on screen.

Any pointers?

-- 
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110114/6b0397c7/attachment.htm>


More information about the Mercurial-devel mailing list