Mercurial > public > mercurial-scm > hg-stable
diff mercurial/discovery.py @ 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 | e3bb2a58af1e |
children | 2372284d9457 |
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")