D6969: discovery: re-wrap expression to avoid a black bug
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sat Oct 5 14:05:40 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6969
AFFECTED FILES
mercurial/discovery.py
CHANGE DETAILS
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")
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list