Return the proper validation value if "HEAD" is the to-be-validated revision
(fixes issue 568)
This commit is contained in:
parent
35e670a1ab
commit
08ef485ca9
@ -141,8 +141,9 @@ class IDF_Scm_Svn extends IDF_Scm
|
||||
public function validateRevision($rev)
|
||||
{
|
||||
if ($rev == 'HEAD') {
|
||||
return true;
|
||||
return IDF_Scm::REVISION_VALID;
|
||||
}
|
||||
|
||||
$cmd = sprintf(Pluf::f('svn_path', 'svn').' info --username=%s --password=%s %s@%s',
|
||||
escapeshellarg($this->username),
|
||||
escapeshellarg($this->password),
|
||||
|
Loading…
Reference in New Issue
Block a user