Show More
@@ -1303,10 +1303,13 b' class PullRequestModel(BaseModel):' | |||
|
1303 | 1303 | merge_state = self._refresh_merge_state( |
|
1304 | 1304 | pull_request, target_vcs, target_ref) |
|
1305 | 1305 | else: |
|
1306 |
possible = pull_request. |
|
|
1307 | last_merge_status == MergeFailureReason.NONE | |
|
1306 | possible = pull_request.last_merge_status == MergeFailureReason.NONE | |
|
1307 | metadata = { | |
|
1308 | 'target_ref': pull_request.target_ref_parts, | |
|
1309 | 'source_ref': pull_request.source_ref_parts | |
|
1310 | } | |
|
1308 | 1311 | merge_state = MergeResponse( |
|
1309 | possible, False, None, pull_request.last_merge_status) | |
|
1312 | possible, False, None, pull_request.last_merge_status, metadata=metadata) | |
|
1310 | 1313 | |
|
1311 | 1314 | return merge_state |
|
1312 | 1315 |
General Comments 0
You need to be logged in to leave comments.
Login now