D1480: py3: define __next__ in patch.py

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Dec 2 03:11:46 UTC 2017


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

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 = []
 



To: indygreg, #hg-reviewers, pulkit, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list