1
0
Fork 0

Missing slash prevents version evaluation.

pull/416/head
DonMartio 2012-03-09 10:04:52 +01:00
parent 42aa4b00b5
commit b74773053b
1 changed files with 1 additions and 1 deletions

View File

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