Skip to content

Commit

Permalink
Although the tag "tip" does not provide a valid package version (see …
Browse files Browse the repository at this point in the history
…VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.

This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.

The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".

Therefore you cannot update your project to the new version with "composer update".
  • Loading branch information
Per Bernhardt committed Feb 23, 2012
1 parent 2aa6129 commit 9a17899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Composer/Repository/Vcs/HgDriver.php
Expand Up @@ -130,6 +130,7 @@ public function getTags()
$tags[$match[1]] = $match[2];
}
}
unset($tags['tip']);

$this->tags = $tags;
}
Expand Down

0 comments on commit 9a17899

Please sign in to comment.