changeset 40678:c72a81bc2e82

ui: unify argument name of ui.log() It's called an "event" in both blackbox and logtoprocess.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 11 Nov 2018 17:59:23 +0900
parents 2b859742ea15
children 20d2fd6036ed
files mercurial/ui.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ui.py	Sun Nov 11 17:45:18 2018 +0900
+++ b/mercurial/ui.py	Sun Nov 11 17:59:23 2018 +0900
@@ -1709,10 +1709,10 @@
         '''exists only so low-level modules won't need to import scmutil'''
         return scmutil.progress(self, topic, unit, total)
 
-    def log(self, service, *msg, **opts):
+    def log(self, event, *msg, **opts):
         '''hook for logging facility extensions
 
-        service should be a readily-identifiable subsystem, which will
+        event should be a readily-identifiable subsystem, which will
         allow filtering.
 
         *msg should be a newline-terminated format string to log, and