# HG changeset patch # User Yuya Nishihara # Date 2018-11-11 08:59:23 # Node ID c72a81bc2e82ec5d1ae898e753763a36409365bc # Parent 2b859742ea15ecca36339991f4dd8b9145bda29c ui: unify argument name of ui.log() It's called an "event" in both blackbox and logtoprocess. diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -1709,10 +1709,10 @@ class ui(object): '''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