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

Duplicated branches and tags - Multiple entries for the same ref id

    XMLWordPrintable

Details

    Description

      A customers' REST request to

      /rest/api/latest/projects/IESD/repos/iesd-17.1/branches
      

      with the filter -SEC-17-.1/FOD, returned

      {"id":"refs/heads/SEC-17.1/FOD","displayId":"SEC-17.1/FOD","type":"BRANCH","latestCommit":"b9edef077dbc93bb2a8d46e58b0545f0fc513c45","latestChangeset":"b9edef077dbc93bb2a8d46e58b0545f0fc513c45","isDefault":false},
      {"id":"refs/heads/SEC-17.1/FOD","displayId":"SEC-17.1/FOD","type":"BRANCH","latestCommit":"97953adac57f8fea837e88fa797ef617234fe7c1","latestChangeset":"97953adac57f8fea837e88fa797ef617234fe7c1","isDefault":false}]
      

      But when performing

      git for-each-ref --sort=-committerdate --format="%(refname)%02%(objectname)" refs/heads/
      

      there was only a single entry for the branch.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pathompson Paul Thompson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync