# HG changeset patch # User Pierre-Yves David # Date 1513809748 -3600 # Node ID 0d83fb5c501566583096df65ddbbcf4000044719 # Parent db8feb4047927abbfed7d763ea62d84835faea81 stablesort: remove some dead code This closure is no longer in use. diff -r db8feb404792 -r 0d83fb5c5015 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()