revset: remove duplicated definition of choice() from addset._iterordered()
authorYuya Nishihara <yuya@tcha.org>
Mon, 27 Apr 2015 23:03:20 +0900
changeset 25023 405cb38448ad
parent 25022 10bbdcd89164
child 25024 263bbed1833c
revset: remove duplicated definition of choice() from addset._iterordered() choice() is already defined before val1 = None. Perhaps there was merge or rebase error.
mercurial/revset.py
--- a/mercurial/revset.py	Tue May 12 19:40:45 2015 -0500
+++ b/mercurial/revset.py	Mon Apr 27 23:03:20 2015 +0900
@@ -3044,10 +3044,6 @@
 
         val1 = None
         val2 = None
-
-        choice = max
-        if ascending:
-            choice = min
         try:
             # Consume both iterators in an ordered way until one is
             # empty