-
Bug
-
Resolution: Fixed
-
High
-
4.14.4
-
2
-
Severity 2 - Major
-
27
-
Summary
When changing the default branch for a repository in an upstream (primary) server, the new default branch is not cloned by default from the Smart Mirror
Environment
- Bitbucket Data Center + Smart Mirror
Steps to Reproduce
- Create a repository in the upstream server.
- Set the default branch to *master.
- Mirror the project with the repository.
- Create a second branch in the repository.
- Set the default branch to the second branch.
- Clone the repository from the mirror.
Expected Results
The second branch will be cloned by default from the mirror.
Actual Results
master is cloned from the mirror.
Notes
- Rebuilding the mirror did not appear to resolve this issue.
Workaround
- Use git pull to retrieve the correct branch.