[Updated] D10079: patch: fix a formatting issue
khanchi97 (Sushil khanchi)
phabricator at mercurial-scm.org
Tue Mar 2 13:11:55 UTC 2021
Closed by commit rHGa9887f9e87aa: patch: fix a formatting issue (authored by khanchi97).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10079?vs=25973&id=26019
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10079/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10079
AFFECTED FILES
mercurial/patch.py
CHANGE DETAILS
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:
To: khanchi97, #hg-reviewers, SimonSapin, pulkit
Cc: SimonSapin, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210302/624b3e43/attachment-0002.html>
More information about the Mercurial-patches
mailing list