Skip to content

Commit

Permalink
Fixes #902 - don't check for presence of .svn folders (breaks svn 1.7+)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Jul 10, 2012
1 parent 2181da1 commit ec39694
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions classes/phing/tasks/ext/svn/SvnBaseTask.php
Expand Up @@ -277,14 +277,7 @@ protected function setup($mode)
{
if (is_dir($this->workingCopy))
{
if (in_array(".svn", scandir($this->workingCopy)))
{
$this->svnArgs = array($this->workingCopy);
}
else
{
throw new BuildException("'".$this->workingCopy."' doesn't seem to be a working copy");
}
$this->svnArgs = array($this->workingCopy);
}
else
if ($mode=='info' )
Expand Down

0 comments on commit ec39694

Please sign in to comment.