logtoprocess: do not leak the ui object in uisetup
logtoprocess.log should use "self" passed in function arguments instead
of the "ui" object from outside the function.
--- a/hgext/logtoprocess.py Wed Jun 29 23:53:20 2016 +0100
+++ b/hgext/logtoprocess.py Thu Jun 30 15:26:11 2016 +0100
@@ -92,7 +92,7 @@
Arguments are passed on as environment variables.
"""
- script = ui.config('logtoprocess', event)
+ script = self.config('logtoprocess', event)
if script:
if msg:
# try to format the log message given the remaining