Only open pull requests should be mergeable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.8.0
    • Affects Version/s: 4.0.0
    • Component/s: Pull Request - Merge
    • None

      PullRequestService.merge does not check whether the pull request is open before attempting to merge it. As a result, when merge is called with a pull request that is already merged, git reports "Already up-to-date."

      This is interpreted as an error and the pull request is put back in the OPEN state (because the merge failed). The next time pull request rescoping is triggered in the repository, the pull request is marked as "merged remotely" again.

            Assignee:
            Michael Heemskerk (Inactive)
            Reporter:
            Michael Heemskerk (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: