# HG changeset patch # User Pierre-Yves David # Date 1412972697 25200 # Node ID e7b8cf352614685ca8929fad17aec80f7023464f # Parent ecd27fee5c2be526fbd492479467ca73a55bc595 fullreposet: detect smartset using "isascending" instead of "set" The `.set()` function is going away. diff -r ecd27fee5c2b -r e7b8cf352614 mercurial/revset.py --- 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) #