Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3452

Cannot create pull request between same branch in different repos

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.4.2
    • 2.4.0, 2.4.1
    • Pull Requests
    • None

    Description

      When trying to create a pull request between the same branch in repositories, there is an error message "You cannot merge a branch with itself".

      Steps to reproduce:
      1. View 'files' on fork repository
      2. Switch branch to a branch other than 'master' e.g. 'test-branch'
      3. Click the create pull request button -> This should bring you to the create pull request page with the source branch prefilled with 'test-branch'. Source repo should be your fork and target repo should be the origin.
      4. Switch target branch to the same branch ('test-branch'). Error message should appear

      Attachments

        Activity

          People

            xtjhin Joshua Tjhin (Inactive)
            xtjhin Joshua Tjhin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: