Show More
@@ -175,7 +175,7 b' repository configuration::' | |||||
175 |
|
175 | |||
176 | Be aware that ``uisetup`` in NOT the function to configure a ``ui`` instance. |
|
176 | Be aware that ``uisetup`` in NOT the function to configure a ``ui`` instance. | |
177 | It's called only once per process, not per ``ui`` instance. Also, any changes |
|
177 | It's called only once per process, not per ``ui`` instance. Also, any changes | |
178 | to the ``ui`` may be discarded because the ``ui`` here temporarily loaded |
|
178 | to the ``ui`` may be discarded because the ``ui`` here is a temporarily loaded | |
179 | local configuration. So, it's generally wrong to do `ui.setconfig()` in |
|
179 | local configuration. So, it's generally wrong to do `ui.setconfig()` in | |
180 | these callbacks. Notable exception is setting ``pre/post-<command>`` hooks |
|
180 | these callbacks. Notable exception is setting ``pre/post-<command>`` hooks | |
181 | and extending ``ui.__class__``. |
|
181 | and extending ``ui.__class__``. |
General Comments 0
You need to be logged in to leave comments.
Login now