Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR's were merged, but there was a problem when deleting branches #21

Open
tadeu opened this issue May 14, 2019 · 1 comment
Open

PR's were merged, but there was a problem when deleting branches #21

tadeu opened this issue May 14, 2019 · 1 comment
Assignees

Comments

@tadeu
Copy link
Member

tadeu commented May 14, 2019

After a !merge RFDAP-1939 command, it replied with:

Computer says nooo. See logs for details:
400: {'errors': [{'context': 'name', 'message': 'You cannot delete this branch since it has at least one open pull request associated with it', 'exceptionName': 'com.atlassian.bitbucket.internal.branch.UnsupportedOnBranchException'}]}

I've noticed that all 3 pull requests were merged, but the branch wasn't deleted in some repos. The problem was that there was a Pull Request targeting the branch.

There are two things that could be improved:

  • The operation could be more atomic, if possible. (Do not merge if there's a problem like this)
  • The message could be more helpful, saying what repos have the problem, and what are the possible causes
@gcardozo123
Copy link
Contributor

I'll look at this when I get back to my Github support branch. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants