Show More
@@ -630,7 +630,7 b' class PullRequestModel(BaseModel):' | |||
|
630 | 630 | old=pull_request, new=None, changes=None) |
|
631 | 631 | |
|
632 | 632 | # re-compute commit ids |
|
633 |
old_commit_ids = |
|
|
633 | old_commit_ids = pull_request.revisions | |
|
634 | 634 | pre_load = ["author", "branch", "date", "message"] |
|
635 | 635 | commit_ranges = target_repo.compare( |
|
636 | 636 | target_commit.raw_id, source_commit.raw_id, source_repo, merge=True, |
@@ -647,7 +647,7 b' class PullRequestModel(BaseModel):' | |||
|
647 | 647 | commit.raw_id for commit in reversed(commit_ranges)] |
|
648 | 648 | pull_request.updated_on = datetime.datetime.now() |
|
649 | 649 | Session().add(pull_request) |
|
650 |
new_commit_ids = |
|
|
650 | new_commit_ids = pull_request.revisions | |
|
651 | 651 | |
|
652 | 652 | changes = self._calculate_commit_id_changes( |
|
653 | 653 | old_commit_ids, new_commit_ids) |
General Comments 0
You need to be logged in to leave comments.
Login now