Fun with loading extensions

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Jun 14 11:18:48 CDT 2010


On Mon, Jun 14, 2010 at 17:52, Greg Ward <greg at gerg.ca> wrote:
>  * dig into the closure returned by getattr(repo, name) and try to
> figure out which extension did the wrapping (I just spent 2 minutes on
> this and don't see an obvious way)
>  * tell the user to load this extension before the other one (not
> very useful unless we know what the other one is)

I might be stupid, but isn't this pretty much solved if we can require
that everyone calls super() at some point?

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list