Changeset 282

Show
Ignore:
Timestamp:
11/02/07 09:19:26 (9 months ago)
Author:
hans
Message:

Merging fix for #170 into trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/phing/tasks/ext/svn/SvnBaseTask.php

    r238 r282  
    251251                        } 
    252252                        else 
     253                        if ($mode=='info' ) 
     254                        { 
     255                                if (is_file($this->workingCopy)) 
     256                                { 
     257                                        $this->svnArgs = array($this->workingCopy); 
     258                                } 
     259                                else 
     260                                { 
     261                                        throw new BuildException("'".$this->workingCopy."' is not a directory nor a file"); 
     262                                } 
     263                        } 
     264                        else 
    253265                        { 
    254266                                throw new BuildException("'".$this->workingCopy."' is not a directory");