equal
deleted
inserted
replaced
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: |