##// END OF EJS Templates
gitlog: implement __iter__ on changelog...
Augie Fackler -
r44965:8b5f5d8a default
parent child Browse files
Show More
@@ -103,6 +103,9 b' class changelog(baselog):'
103 except error.LookupError:
103 except error.LookupError:
104 return False
104 return False
105
105
106 def __iter__(self):
107 return iter(pycompat.xrange(len(self)))
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
General Comments 0
You need to be logged in to leave comments. Login now