# HG changeset patch # User Yuya Nishihara # Date 1541926763 -32400 # Node ID c72a81bc2e82ec5d1ae898e753763a36409365bc # Parent 2b859742ea15ecca36339991f4dd8b9145bda29c ui: unify argument name of ui.log() It's called an "event" in both blackbox and logtoprocess. diff -r 2b859742ea15 -r c72a81bc2e82 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