##// END OF EJS Templates
pull-requests: updates on pull requests that don't have versions shouldn't...
marcink -
r1596:892a8297 default
parent child Browse files
Show More
@@ -637,7 +637,11 b' class PullRequestModel(BaseModel):'
637 637 pull_request_version = self._create_version_from_snapshot(pull_request)
638 638 self._link_comments_to_version(pull_request_version)
639 639 else:
640 try:
640 641 ver = pull_request.versions[-1]
642 except IndexError:
643 ver = None
644
641 645 pull_request.pull_request_version_id = \
642 646 ver.pull_request_version_id if ver else None
643 647 pull_request_version = pull_request
General Comments 0
You need to be logged in to leave comments. Login now