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

No hooks are triggered when user creates Git branch via Stash UI

    XMLWordPrintable

Details

    • 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

      This bug was reported in SubGit issue tracker: SG-72.

      When Git-SVN mirror is enabled for a Git repository via SVN Mirror Add-on, user is not able to create new Git branches via Stash UI.

      When Stash creates a new Git branch, it doesn't trigger pre-receive hook and doesn't raise any events. As result SubGit plugin has no information on performed action. Next time the plugin synchronizes Git repository with Subversion server, it deletes Git branch since its SVN counterpart is missing in the latest revision.

      As a workaround Stash user has to create a branch in his local repository and then push that branch back to Stash:

      git push <origin> <branch>
      

      We would appreciate if Stash could somehow notify our plugin on new branch creation when user adds a branch via Stash UI.

      Thank you in advance,
      Semyon

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9134a18b55f0 Semyon Vadishev
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: