# HG changeset patch # User Augie Fackler # Date 2019-10-05 13:55:56 # Node ID 6e8582ccf76d7c2baa81950283aa1f63105fa79b # Parent c348d829d23a0bb240e4a7904b74a88da9f4e71a discovery: re-wrap expression to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6969 diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -394,8 +394,10 @@ def checkheads(pushop): if len(newhs) > 1: dhs = list(newhs) if errormsg is None: - errormsg = (_("push creates new branch '%s' " - "with multiple heads") % (branch)) + errormsg = ( + _("push creates new branch '%s' with multiple heads") % + branch + ) hint = _("merge or" " see 'hg help push' for details about" " pushing new heads")