equal
deleted
inserted
replaced
147 |
147 |
148 class revlogdag(revlogbaseddag): |
148 class revlogdag(revlogbaseddag): |
149 '''dag interface to a revlog''' |
149 '''dag interface to a revlog''' |
150 |
150 |
151 def __init__(self, revlog): |
151 def __init__(self, revlog): |
152 revlogbaseddag.__init__(self, revlog, set(xrange(len(revlog)))) |
152 revlogbaseddag.__init__(self, revlog, set(revlog)) |
153 |
153 |
154 def _getheads(self): |
154 def _getheads(self): |
155 return [r for r in self._revlog.headrevs() if r != nullrev] |
155 return [r for r in self._revlog.headrevs() if r != nullrev] |
156 |
156 |
157 def parents(self, ix): |
157 def parents(self, ix): |