hgext/git/gitlog.py
changeset 44481 8b5f5d8ad783
parent 44480 f19491aae641
child 44484 ec54b3d2af0b
equal deleted inserted replaced
44480:f19491aae641 44481:8b5f5d8ad783
   100         try:
   100         try:
   101             self.node(rev)
   101             self.node(rev)
   102             return True
   102             return True
   103         except error.LookupError:
   103         except error.LookupError:
   104             return False
   104             return False
       
   105 
       
   106     def __iter__(self):
       
   107         return iter(pycompat.xrange(len(self)))
   105 
   108 
   106     @property
   109     @property
   107     def filteredrevs(self):
   110     def filteredrevs(self):
   108         # TODO: we should probably add a refs/hg/ namespace for hidden
   111         # TODO: we should probably add a refs/hg/ namespace for hidden
   109         # heads etc, but that's an idea for later.
   112         # heads etc, but that's an idea for later.