Another f'up - isValidRevision() is gone, replaced by validateRevision().

Unit tests would really, really help us here...
This commit is contained in:
Thomas Keller 2010-11-17 23:18:06 +01:00
parent 08ef485ca9
commit abc8b8f4ab

View File

@ -398,7 +398,7 @@ class IDF_Scm_Svn extends IDF_Scm
*/
public function getCommit($commit, $getdiff=false)
{
if (!$this->isValidRevision($commit)) {
if ($this->validateRevision($commit) != IDF_Scm::REVISION_VALID) {
return false;
}
$res = array();