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

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, indygreg
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to