##// END OF EJS Templates
repair: revlog has an iterator
Matt Mackall -
r13715:2edf41a9 default
parent child Browse files
Show More
@@ -37,7 +37,7 b' def _collectbrokencsets(repo, files, str'
37 37 """return the changesets which will be broken by the truncation"""
38 38 s = set()
39 39 def collectone(revlog):
40 links = (revlog.linkrev(i) for i in xrange(len(revlog)))
40 links = (revlog.linkrev(i) for i in revlog)
41 41 # find the truncation point of the revlog
42 42 for lrev in links:
43 43 if lrev >= striprev:
General Comments 0
You need to be logged in to leave comments. Login now