changeset 46550:a9887f9e87aa stable

patch: fix a formatting issue Differential Revision: https://phab.mercurial-scm.org/D10079
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Fri, 26 Feb 2021 15:34:22 +0530
parents 9842c00f0252
children 7a29d9002250
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Tue Feb 02 20:20:17 2021 +0900
+++ b/mercurial/patch.py	Fri Feb 26 15:34:22 2021 +0530
@@ -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: