Changeset 38

Show
Ignore:
Timestamp:
03/09/06 14:05:11 (3 years ago)
Author:
mrook
Message:

Add additional parameter switches (closes issue #11)

Files:

Legend:

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

    r37 r38  
    152152         * 
    153153         * @param array Additional arguments to pass to SVN. 
     154         * @param array Switches to pass to SVN. 
    154155         * @return string Output generated by SVN. 
    155156         */ 
    156         protected function run($args = array()
     157        protected function run($args = array(), $switches = array()
    157158        { 
    158159                $svnstack = PEAR_ErrorStack::singleton('VersionControl_SVN'); 
     
    162163                $tempArgs = array_merge($tempArgs, $args); 
    163164                 
    164                 if ($output = $this->svn->run($tempArgs)) 
     165                if ($output = $this->svn->run($tempArgs, $switches)) 
    165166                { 
    166167                        return $output;