changeset 35609 | c026547454dd |
parent 35608 | fe4e1352c035 |
child 35610 | 22c42bfbe7ab |
--- a/mercurial/context.py Fri Jan 12 11:09:04 2018 +0000 +++ b/mercurial/context.py Fri Jan 12 11:10:18 2018 +0000 @@ -442,8 +442,7 @@ # If the changeset is obsolete, enrich the message with the reason # that made this changeset not visible if ctx.obsolete(): - reason = obsutil._getfilteredreason(unfilteredrepo, ctx) - msg = _("hidden revision '%s' %s") % (changeid, reason) + msg = obsutil._getfilteredreason(unfilteredrepo, changeid, ctx) else: msg = _("hidden revision '%s'") % changeid