# HG changeset patch # User Sushil khanchi # Date 2021-02-26 10:04:22 # Node ID a9887f9e87aadddcae56f0b139d8c0c735873683 # Parent 9842c00f02520d93a8301762a816eb17a9dc8e2c patch: fix a formatting issue Differential Revision: https://phab.mercurial-scm.org/D10079 diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -3105,9 +3105,7 @@ def diffcontent(data1, data2, header, bi 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: