changeset 43049:6e8582ccf76d

discovery: re-wrap expression to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6969
author Augie Fackler <augie@google.com>
date Sat, 05 Oct 2019 09:55:56 -0400
parents c348d829d23a
children a614f26d4897
files mercurial/discovery.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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")