Skip to content
Snippets Groups Projects
Commit cb728894 authored by Matt Harbison's avatar Matt Harbison
Browse files

helptext: fix sentence in extensions documentation

Differential Revision: https://phab.mercurial-scm.org/D9366
parent 87e7dd8e
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@
Be aware that ``uisetup`` in NOT the function to configure a ``ui`` instance.
It's called only once per process, not per ``ui`` instance. Also, any changes
to the ``ui`` may be discarded because the ``ui`` here temporarily loaded
to the ``ui`` may be discarded because the ``ui`` here is a temporarily loaded
local configuration. So, it's generally wrong to do `ui.setconfig()` in
these callbacks. Notable exception is setting ``pre/post-<command>`` hooks
and extending ``ui.__class__``.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment