-
Bug
-
Resolution: Duplicate
-
Low
-
1
-
23
-
Bug reproduction steps:
- Create a new repo (like all new repos, it will start out empty).
- Do NOT add any content to the repo,
- fork the empty repo.
- Add content to the forked repo.
- Now try to generate a pull request from the forked repo to the new (still empty) repo.
- You will see a page that says "Something went wrong"
I consider this a bug for these reasons:
- From a git standpoint this should work fine (and does on git hub or gitlab)
- This is a common situation for our work flow (where a repo admin creates and controls master repos, but all content is generated by folks other than the admin).
Workaround:
Add any dummy file to the new repo before the 1st fork is made: then the pull request will process normally. However, this litters the repo with an uneeded file just to avoid the bug.
More info is in bitbucket support request BBS-6783
I opened this issue at the suggestion of the Atlassian support.
Dave
- is duplicated by
-
BCLOUD-13697 Misleading error message when creating a PR on an empty repo
-
- Closed
-