From patchwork Sat Dec 2 03:11:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1480: py3: define __next__ in patch.py From: phabricator X-Patchwork-Id: 25883 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Sat, 2 Dec 2017 03:11:46 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGa1d2fc32bb99: py3: define __next__ in patch.py (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1480?vs=3720&id=4074 REVISION DETAIL https://phab.mercurial-scm.org/D1480 AFFECTED FILES mercurial/patch.py CHANGE DETAILS To: indygreg, #hg-reviewers, pulkit, yuja Cc: mercurial-devel diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -149,6 +149,8 @@ raise StopIteration return l + __next__ = next + inheader = False cur = []