Show More
@@ -1054,8 +1054,10 b' class PullRequestModel(BaseModel):' | |||||
1054 | ref_key = '%s:%s:%s' % (group_key, ref_name, ref_id) |
|
1054 | ref_key = '%s:%s:%s' % (group_key, ref_name, ref_id) | |
1055 | group_refs.append((ref_key, ref_name)) |
|
1055 | group_refs.append((ref_key, ref_name)) | |
1056 |
|
1056 | |||
1057 |
if not selected |
|
1057 | if not selected: | |
1058 | selected = ref_key |
|
1058 | if set([commit_id, match]) & set([ref_id, ref_name]): | |
|
1059 | selected = ref_key | |||
|
1060 | ||||
1059 | if group_refs: |
|
1061 | if group_refs: | |
1060 | groups.append((group_refs, group_name)) |
|
1062 | groups.append((group_refs, group_name)) | |
1061 |
|
1063 |
General Comments 0
You need to be logged in to leave comments.
Login now