mercurial/revset.py
changeset 22883 e7b8cf352614
parent 22882 ecd27fee5c2b
child 22884 4584eec9aead
--- 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)
             #