changeset 26235:6c962145f523

ui: improve docs on ui.log This makes the documentation on ui.log line up with the use of that interface in blackbox.
author Augie Fackler <augie@google.com>
date Thu, 10 Sep 2015 10:50:03 -0400
parents e4609ec959f8
children 2e42517129ca
files mercurial/ui.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ui.py	Sat Sep 12 00:21:41 2015 +0900
+++ b/mercurial/ui.py	Thu Sep 10 10:50:03 2015 -0400
@@ -969,9 +969,12 @@
 
         service should be a readily-identifiable subsystem, which will
         allow filtering.
-        message should be a newline-terminated string to log.
+
+        *msg should be a newline-terminated format string to log, and
+        then any values to %-format into that format string.
+
+        **opts currently has no defined meanings.
         '''
-        pass
 
     def label(self, msg, label):
         '''style msg based on supplied label