This revision was automatically updated to reflect the committed changes. Closed by commit rHG90afd61ef8a2: revert: remove unnecessary check as `msg` should never be a callable now (authored by khanchi97, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4448?vs=10714&id=10721 REVISION DETAIL https://phab.mercurial-scm.org/D4448 AFFECTED FILES mercurial/cmdutil.py CHANGE DETAILS diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -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) To: khanchi97, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list [email protected] https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
