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

Creating branches with same name but with unique case sensitivity is not allowed.

XMLWordPrintable

      Steps to produce

      1. On terminal create a branch called ServiceOne using git command.
      2. Follow by add a file, commit the changes and push the commit to branch ServiceOne.
      3. Create a branch called serviceone using git command.
      4. Follow by add a file, commit the changes and push the commit to branch serviceone.

      Results
      Terminal produces error as following:

      Counting objects: 2, done.
      Delta compression using up to 8 threads.
      Compressing objects: 100% (2/2), done.
      Writing objects: 100% (2/2), 236 bytes | 0 bytes/s, done.
      Total 2 (delta 0), reused 0 (delta 0)
      remote: error: failed to lock refs/heads/serviceone
      To http://stash_admin@10.60.2.7:7990/stash/scm/st/02-si-tools.git/
       ! [remote rejected] serviceone -> serviceone (failed to lock)
      error: failed to push some refs to 'http://stash_admin@10.60.2.7:7990/stash/scm/st/02-si-tools.git/'
      

      Expected Results
      To create another branch with same name that allows with unique name.

      Workaround
      Upgrade to Bitbucket Server ver4.1.X.

            Unassigned Unassigned
            bannamalai Baskar Annamalai (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: