Mercurial > evolve
diff README.rst @ 6652:92fd4581f569
topic: return our special executor classes for each instance
It looks like globally patching classes once when the extension is being
initialized is not a great idea (23cad1a872b6), because people might use other
extensions that get initialized earlier than topic or only for certain repos.
Replacing global executor classes is less safe than wrapping certain functions
that should return newly instantiated objects of said classes, so let's do that
instead.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 09 Jan 2024 15:39:28 -0300 |
parents | 282a0467433e |
children | 9c70bdc92cdb |