changeset 22883:e7b8cf352614

fullreposet: detect smartset using "isascending" instead of "set" The `.set()` function is going away.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 10 Oct 2014 13:24:57 -0700
parents ecd27fee5c2b
children 4584eec9aead
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Fri Oct 10 13:21:05 2014 -0700
+++ b/mercurial/revset.py	Fri Oct 10 13:24:57 2014 -0700
@@ -2980,7 +2980,7 @@
         This boldly assumes the other contains valid revs only.
         """
         # other not a smartset, make is so
-        if not util.safehasattr(other, 'set'):
+        if not util.safehasattr(other, 'isascending'):
             # filter out hidden revision
             # (this boldly assumes all smartset are pure)
             #