Details
-
Suggestion
-
Resolution: Fixed
Description
This bug was reported in SubGit issue tracker: SG-61.
When Git-SVN mirror is enabled for a Git repository via SVN Mirror Add-on, "delete source branch" option is not respected while merging pull requests.
When Stash deletes a source branch, it raises no events and provides no information on deleted branch via GitPullRequestMergeRequestedEvent. As result SubGit plugin has no information on performed action. Next time the plugin synchronizes Git repository with Subversion server, it resurrects deleted Git branch since its SVN counterpart still presents in the latest revision.
As a workaround Stash user has to delete source branch manually as soon as pull request is merged:
git push <origin> --delete <branch>
We would appreciate if Stash could somehow notify our plugin on source branch deletion when user merges pull request.
Thank you in advance,
Semyon
Attachments
Issue Links
- relates to
-
BSERV-4270 No hooks are triggered when user creates Git branch via Stash UI
- Closed