diff -r db0dba2d157d -r 6bd477ee7294 hgext/logtoprocess.py --- a/hgext/logtoprocess.py Sat Aug 18 01:44:38 2018 +0200 +++ b/hgext/logtoprocess.py Mon Oct 22 15:47:30 2018 +0200 @@ -113,10 +113,8 @@ # try to format the log message given the remaining # arguments try: - # Python string formatting with % either uses a - # dictionary *or* tuple, but not both. If we have - # keyword options, assume we need a mapping. - formatted = msg[0] % (opts or msg[1:]) + # Format the message as blackbox does + formatted = msg[0] % msg[1:] except (TypeError, KeyError): # Failed to apply the arguments, ignore formatted = msg[0]