stablesort: remove some dead code
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 20 Dec 2017 23:42:28 +0100
changeset 3335 0d83fb5c5015
parent 3334 db8feb404792
child 3336 c42158efb64e
stablesort: remove some dead code This closure is no longer in use.
hgext3rd/evolve/stablesort.py
--- 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()