-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.4.0
-
Component/s: Repository - Branches / Tags
-
None
-
Severity 3 - Minor
Issue Summary
When trying to update the default branch after importing a repository, it will fail if the imported repository does not have a "master" branch (the default "default" branch for a newly created repository).
Steps to Reproduce
- Import a repository
- See the "refs/head/master does not exist" message on the Source view
- Navigate to repository settings
- Attempt to update the default branch
Expected Results
The default branch is updated.
Actual Results
Receive a "refs/heads/master is set as the default branch, but this branch does not exist"
Workaround
- Create a "master" branch
- Update the default branch
- Delete the "master" branch