Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 4.14.4
-
Fix Version/s: 5.8.0
-
Component/s: Smart Mirroring
-
Support reference count:2
-
Symptom Severity:Severity 2 - Major
-
UIS:27
-
Bug Fix Policy:
Description
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.