Mercurial > evolve
view .hgignore @ 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 | ba316ce15040 |
children |
line wrap: on
line source
syntax: glob *.py[cdo] *~ *.swp *.orig *.rej *.egg-info syntax: rootglob .idea/ .mypy_cache/ .pytype/ .vscode/ html/ build/ dist/ MANIFEST tests/easy_run.sh tests/*.err tests/.testtimes* docs/training/graphs/ docs/training/html/ docs/training/index.html docs/training/graphviz-images/ docs/training/img/ docs/training/output/ docs/training/pandocfilters/ docs/tutorials/**.rst docs/figures/**.png docs/static/**.ico