discovery: re-wrap expression to avoid a black bug
authorAugie Fackler <augie@google.com>
Sat, 05 Oct 2019 09:55:56 -0400
changeset 43049 6e8582ccf76d
parent 43048 c348d829d23a
child 43050 a614f26d4897
discovery: re-wrap expression to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6969
mercurial/discovery.py
--- a/mercurial/discovery.py	Fri Oct 04 17:07:00 2019 -0400
+++ b/mercurial/discovery.py	Sat Oct 05 09:55:56 2019 -0400
@@ -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")