1
0
Fork 0

Merge pull request #416 from DonMartio/master

Missing slash permits version evaluation.
pull/417/head
Jordi Boggiano 2012-03-09 01:22:56 -08:00
commit 6c9f1f6f5b
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class SvnDriver extends VcsDriver
{
$identifier = '/' . trim($identifier, '/') . '/';
if (!isset($this->infoCache[$identifier])) {
preg_match('{^(.+?)(@\d+)?$}', $identifier, $match);
preg_match('{^(.+?)(@\d+)?/$}', $identifier, $match);
if (!empty($match[2])) {
$identifier = $match[1];
$rev = $match[2];