Submitter | Pierre-Yves David |
---|---|
Date | Sept. 23, 2014, 7:28 p.m. |
Message ID | <52b6a97deaae46cd25bd.1411500507@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/5919/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2845,7 +2845,16 @@ class spanset(_orderedsetmixin): return self._start >= self._end def filter(self, l): return orderedlazyset(self, l, ascending=self.isascending()) +class fullreposet(spanset): + """a set containing all revisions in the repo + + This class exists to host special optimisation. + """ + + def __init__(self, repo): + super(fullreposet, self).__init__(repo) + # tell hggettext to extract docstrings from these functions: i18nfunctions = symbols.values()