From patchwork Sat Oct 5 14:19:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6969: discovery: re-wrap expression to avoid a black bug From: phabricator X-Patchwork-Id: 41974 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Sat, 5 Oct 2019 14:19:31 +0000 Closed by commit rHG6e8582ccf76d: discovery: re-wrap expression to avoid a black bug (authored by durin42). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6969?vs=16816&id=16822 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6969/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6969 AFFECTED FILES mercurial/discovery.py CHANGE DETAILS To: durin42, #hg-reviewers, indygreg Cc: mercurial-devel diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -394,8 +394,10 @@ 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")