mercurial/revset.py
changeset 26060 4ee2af2194d4
parent 26053 b68c9d232db6
child 26091 60bbd4f9abd1
--- a/mercurial/revset.py	Sun Aug 16 09:30:37 2015 +0900
+++ b/mercurial/revset.py	Thu Aug 20 17:19:56 2015 -0700
@@ -2967,6 +2967,8 @@
     """
     def __init__(self, data=()):
         if not isinstance(data, list):
+            if isinstance(data, set):
+                self._set = data
             data = list(data)
         self._list = data
         self._ascending = None