smartset: fix default value of abstractsmartset.sort()
authorYuya Nishihara <yuya@tcha.org>
Sun, 25 Jun 2017 00:14:48 +0900
changeset 33072 6d767d62b25e
parent 33071 279c072a5c49
child 33073 b04cf7a6e0f3
smartset: fix default value of abstractsmartset.sort() It's unused, but it shouldn't lie.
mercurial/smartset.py
--- a/mercurial/smartset.py	Mon Jun 26 03:47:11 2017 +0900
+++ b/mercurial/smartset.py	Sun Jun 25 00:14:48 2017 +0900
@@ -117,7 +117,7 @@
         """reverse the expected iteration order"""
         raise NotImplementedError()
 
-    def sort(self, reverse=True):
+    def sort(self, reverse=False):
         """get the set to iterate in an ascending or descending order"""
         raise NotImplementedError()