Explorar o código

Merge pull request #2073 from xrstf/fixed-bitbucket-tip

fixed very evil 'tip' tag oversight in bitbucket driver
Jordi Boggiano %!s(int64=12) %!d(string=hai) anos
pai
achega
6a1262e675
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Composer/Repository/Vcs/HgBitbucketDriver.php

+ 1 - 0
src/Composer/Repository/Vcs/HgBitbucketDriver.php

@@ -127,6 +127,7 @@ class HgBitbucketDriver extends VcsDriver
             foreach ($tagsData as $tag => $data) {
                 $this->tags[$tag] = $data['raw_node'];
             }
+            unset($this->tags['tip']);
         }
 
         return $this->tags;