##// END OF EJS Templates
revset: add some documentation for lazyset
Pierre-Yves David -
r20738:33943add default
parent child Browse files
Show More
@@ -2254,6 +2254,10 b' class lazyset(object):'
2254 revset
2254 revset
2255 """
2255 """
2256 def __init__(self, subset, condition=lambda x: True):
2256 def __init__(self, subset, condition=lambda x: True):
2257 """
2258 condition: a function that decide whether a revision in the subset
2259 belongs to the revset or not.
2260 """
2257 self._subset = subset
2261 self._subset = subset
2258 self._condition = condition
2262 self._condition = condition
2259 self._cache = {}
2263 self._cache = {}
General Comments 0
You need to be logged in to leave comments. Login now