Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Issue Summary
Currently, with Bitbucket Cloud, we do not have a way to track what merge strategy was used (commit, FF merge or Squash merge). Currently, we do not support Revert for PRs that was merged using Fast forward and Squash merges, but present the user with the Option anyways in the UI.
Steps to Reproduce
- Create a branch off the Main branch of the repo
- Add commits to the newly created branch
- Create a PR and merge that PR into the Main branch using Fast forward merge strategy
- Then try to revert it, you will be presented with an error message
Expected Results
It is sometimes expected for the revert not to be possible as there are conflicts.
But it should work when there are no conflicts.
Actual Results
Users receive an error.
Workaround
Revert locally using the `git revert <commit hash>` command
Attachments
Issue Links
- Discovered while testing
-
BCLOUD-19983 Support Revert for Pull Requests that were merged using Squash Merge strategy
- Closed