Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13697

Misleading error message when creating a PR on an empty repo

    XMLWordPrintable

Details

    Description

      Summary

      Unable to create a PR within a repository which while it's main(forked) repository is an empty repository.

      Steps to Reproduce

      1. Create an empty repository
      2. Fork the empty repository
      3. Add changes and branches on the Fork repository
      4. Navigate to Pull Request page to create PR
      5. Change the destination repository to the current repository (not the main(forked) repository)
      6. Click Create Pull Request

      Expected Results

      Being able to create a pull request to the upstream repository regardless if its empty or not

      Actual Results

      After clicking on Create pull request, a "something went wrong" error shows up.

      Workaround

      Add at least a commit in the upstream repository

      Attachments

        Issue Links

          Activity

            People

              49221c26d4c8 Luke Choe
              rchia Ronald C.
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: