Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-6272

seems the post commit hook fails again? (BB-7509)

    XMLWordPrintable

Details

    Description

      I'm seeing (irregular) postcommit hooks on cleaning up our tags in a private repo:

      #!python
      remote: Traceback (most recent call last):
      remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/scripts/git/hooks/post-receive", line 16, in <module>
      remote:     sys.exit(posthooks.githooks())
      remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/orochi/git.py", line 1454, in wrapper
      remote:     sha = repo._repo.lookup_reference(refname).hex
      remote: KeyError
      

      I'm doing multiple tag deletions simultaneously using this command:

      #!bash
      git push git@bitbucket.org[repo] :refs/tags/[tag to be deleted]
      

      Is this in any way related to issue BCLOUD-6053 ?

      Attachments

        Activity

          People

            93e1e5ba154a aiiie
            c7d7bf9e29cd gekkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: