Show More
@@ -1426,8 +1426,8 b' class PullRequestModel(BaseModel):' | |||||
1426 | repo.branches[repo.DEFAULT_BRANCH_NAME] |
|
1426 | repo.branches[repo.DEFAULT_BRANCH_NAME] | |
1427 | ) |
|
1427 | ) | |
1428 | elif repo.commit_ids: |
|
1428 | elif repo.commit_ids: | |
1429 | rev = repo.commit_ids[0] |
|
1429 | # make the user select in this case | |
1430 |
selected = |
|
1430 | selected = None | |
1431 | else: |
|
1431 | else: | |
1432 | raise EmptyRepositoryError() |
|
1432 | raise EmptyRepositoryError() | |
1433 | return groups, selected |
|
1433 | return groups, selected |
General Comments 0
You need to be logged in to leave comments.
Login now