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

Protect Release branches from accidental deletion

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Topic branches come and go, generally disappearing after a single pull request. But release branches can have many pull requests before it is EOL'd.

      The PR option to delete the source branch has already bitten us multiple times when we merge from release/* into master.

      Suggestion: Disable the option to delete the source branch for PRs that come from a branch matching the Release branch prefix declared in the Branching Model.

      Also, having an audit message for branch deletion would make recovery faster.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f5eb985d9633 Andrew Fuller
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: