# HG changeset patch # User Yuya Nishihara # Date 2017-06-24 15:14:48 # Node ID 6d767d62b25e28aa51808e3bce093f356333e02d # Parent 279c072a5c49d31950b7ae86a2057c28767f6efb smartset: fix default value of abstractsmartset.sort() It's unused, but it shouldn't lie. diff --git a/mercurial/smartset.py b/mercurial/smartset.py --- a/mercurial/smartset.py +++ b/mercurial/smartset.py @@ -117,7 +117,7 @@ class abstractsmartset(object): """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()