diff --git a/src/IDF/Scm/Svn.php b/src/IDF/Scm/Svn.php index 6766186..0414ea3 100644 --- a/src/IDF/Scm/Svn.php +++ b/src/IDF/Scm/Svn.php @@ -350,6 +350,9 @@ class IDF_Scm_Svn extends IDF_Scm */ public function getCommit($commit, $getdiff=false) { + if (!$this->isValidRevision($commit)) { + return false; + } $res = array(); $cmd = sprintf(Pluf::f('svn_path', 'svn').' log --xml --limit 1 -v --username=%s --password=%s %s@%s', escapeshellarg($this->username),