Mercurial > hg
changeset 39404:90afd61ef8a2
revert: remove unnecessary check as `msg` should never be a callable now
Differential Revision: https://phab.mercurial-scm.org/D4448
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Mon, 03 Sep 2018 10:44:52 +0530 |
parents | 66b5ded95185 |
children | cb70501d8b71 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sun Sep 02 16:32:11 2018 +0900 +++ b/mercurial/cmdutil.py Mon Sep 03 10:44:52 2018 +0530 @@ -3020,8 +3020,6 @@ else: util.rename(target, bakname) if ui.verbose or not exact: - if not isinstance(msg, bytes): - msg = msg(abs) ui.status(msg % rel) elif exact: ui.warn(msg % rel)