hgext/hgk.py
changeset 6750 fb42030d79d6
parent 6747 f6c00b17387c
child 6760 4faaa0535ea7
equal deleted inserted replaced
6749:51b0e799352f 6750:fb42030d79d6
   173 # telling you which commits are reachable from the supplied ones via
   173 # telling you which commits are reachable from the supplied ones via
   174 # a bitmask based on arg position.
   174 # a bitmask based on arg position.
   175 # you can specify a commit to stop at by starting the sha1 with ^
   175 # you can specify a commit to stop at by starting the sha1 with ^
   176 def revtree(ui, args, repo, full="tree", maxnr=0, parents=False):
   176 def revtree(ui, args, repo, full="tree", maxnr=0, parents=False):
   177     def chlogwalk():
   177     def chlogwalk():
   178         count = repo.changelog.count()
   178         count = len(repo)
   179         i = count
   179         i = count
   180         l = [0] * 100
   180         l = [0] * 100
   181         chunk = 100
   181         chunk = 100
   182         while True:
   182         while True:
   183             if chunk > i:
   183             if chunk > i: