discovery: re-wrap expression to avoid a black bug
Differential Revision: https://phab.mercurial-scm.org/D6969
--- 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")