Another f'up - isValidRevision() is gone, replaced by validateRevision().
Unit tests would really, really help us here...
This commit is contained in:
parent
08ef485ca9
commit
abc8b8f4ab
@ -398,7 +398,7 @@ class IDF_Scm_Svn extends IDF_Scm
|
|||||||
*/
|
*/
|
||||||
public function getCommit($commit, $getdiff=false)
|
public function getCommit($commit, $getdiff=false)
|
||||||
{
|
{
|
||||||
if (!$this->isValidRevision($commit)) {
|
if ($this->validateRevision($commit) != IDF_Scm::REVISION_VALID) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$res = array();
|
$res = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user