[PATCH 3 of 9 RFC] revset: added ordered lazyset subclasses

Lucas Moscovicz lmoscovicz at fb.com
Wed Feb 12 16:39:53 CST 2014


# HG changeset patch
# User Lucas Moscovicz <lmoscovicz at fb.com>
# Date 1391642648 28800
#      Wed Feb 05 15:24:08 2014 -0800
# Node ID c75f012c0929a57395a0a6b7a38d1ac865262943
# Parent  9a72b9c402c56b5d23f2aa85b681a287c93201d2
revset: added ordered lazyset subclasses

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -2147,6 +2147,12 @@
     def set(self):
         return set([r for r in self])
 
+class asclazyset(lazyset):
+    pass
+
+class desclazyset(lazyset):
+    pass
+
 class generatorset(object):
     def __init__(self, gen):
         self._gen = gen


More information about the Mercurial-devel mailing list