comparison mercurial/revset.py @ 20416:e72bcc245ecb

revset: added docstring to baseset class
author Lucas Moscovicz <lmoscovicz@fb.com>
date Thu, 06 Feb 2014 11:33:36 -0800
parents b0638b5b004d
children 827561a99569
comparison
equal deleted inserted replaced
20414:022431336f72 20416:e72bcc245ecb
2041 if tree[0] == 'func': 2041 if tree[0] == 'func':
2042 funcs.add(tree[1][1]) 2042 funcs.add(tree[1][1])
2043 return funcs 2043 return funcs
2044 2044
2045 class baseset(list): 2045 class baseset(list):
2046 """Basic data structure that represents a revset and contains the basic
2047 operation that it should be able to perform.
2048 """
2046 def __init__(self, data): 2049 def __init__(self, data):
2047 super(baseset, self).__init__(data) 2050 super(baseset, self).__init__(data)
2048 self._set = None 2051 self._set = None
2049 2052
2050 def set(self): 2053 def set(self):