ui: unify argument name of ui.log()
authorYuya Nishihara <yuya@tcha.org>
Sun, 11 Nov 2018 17:59:23 +0900
changeset 40678 c72a81bc2e82
parent 40677 2b859742ea15
child 40679 20d2fd6036ed
ui: unify argument name of ui.log() It's called an "event" in both blackbox and logtoprocess.
mercurial/ui.py
--- 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