Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 46379: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 | 33350debb480 |
children | 5f86765c9707 |
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: