changeset 3335:0d83fb5c5015

stablesort: remove some dead code This closure is no longer in use.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Dec 2017 23:42:28 +0100
parents db8feb404792
children c42158efb64e
files hgext3rd/evolve/stablesort.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/stablesort.py	Wed Dec 20 23:08:31 2017 +0100
+++ b/hgext3rd/evolve/stablesort.py	Wed Dec 20 23:42:28 2017 +0100
@@ -368,12 +368,6 @@
                 return ps[0]
             return max(ps, key=tiebreaker)
 
-        def walkfrom(start, stop, oneparent):
-            current = oneparent(start)
-            while current is not None:
-                yield current
-                current = oneparent(start)
-
         current = head
         previous_current_1 = object()
         previous_current_2 = object()