equal
deleted
inserted
replaced
379 return len(self._revisions) |
379 return len(self._revisions) |
380 |
380 |
381 def __iter__(self): |
381 def __iter__(self): |
382 return iter(pycompat.xrange(len(self._revisions))) |
382 return iter(pycompat.xrange(len(self._revisions))) |
383 |
383 |
|
384 def hasnode(self, node): |
|
385 if node == nullid: |
|
386 return False |
|
387 |
|
388 return node in self._nodetorev |
|
389 |
384 def revs(self, start=0, stop=None): |
390 def revs(self, start=0, stop=None): |
385 return storageutil.iterrevs(len(self._revisions), start=start, |
391 return storageutil.iterrevs(len(self._revisions), start=start, |
386 stop=stop) |
392 stop=stop) |
387 |
393 |
388 def parents(self, node): |
394 def parents(self, node): |