Show More
@@ -57,7 +57,8 b' def _commits_as_dict(commit_ids, repos):' | |||||
57 |
|
57 | |||
58 | vcs_repo = repo.scm_instance(cache=False) |
|
58 | vcs_repo = repo.scm_instance(cache=False) | |
59 | try: |
|
59 | try: | |
60 | for commit_id in needed_commits: |
|
60 | # use copy of needed_commits since we modify it while iterating | |
|
61 | for commit_id in list(needed_commits): | |||
61 | try: |
|
62 | try: | |
62 | cs = vcs_repo.get_changeset(commit_id) |
|
63 | cs = vcs_repo.get_changeset(commit_id) | |
63 | except CommitDoesNotExistError: |
|
64 | except CommitDoesNotExistError: |
General Comments 0
You need to be logged in to leave comments.
Login now