diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -3105,9 +3105,7 @@ if binary and opts.git and not opts.nobinary: text = mdiff.b85diff(content1, content2) if text: - header.append( - b'index %s..%s' % (index1, index2) - ) + header.append(b'index %s..%s' % (index1, index2)) hunks = ((None, [text]),) else: if opts.git and opts.index > 0: