patch: fix a formatting issue stable
authorSushil khanchi <sushilkhanchi97@gmail.com>
Fri, 26 Feb 2021 15:34:22 +0530
branchstable
changeset 46550 a9887f9e87aa
parent 46549 9842c00f0252
child 46570 7a29d9002250
patch: fix a formatting issue Differential Revision: https://phab.mercurial-scm.org/D10079
mercurial/patch.py
--- 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: