public function move($fromPath, $toPath, $force = false)
    {
        $args   = array();
        if ($force) {
            $args[] = '--force';
        }
        $args[] = $this->resolveLocalPath($fromPath);
        $args[] = $this->resolveLocalPath($toPath);

        /** @var $result CallResult */
        $result = $this->getSvn()->{'move'}($this->getRepositoryPath(), $args);
        $result->assertSuccess(sprintf('Cannot move "%s" to "%s" in "%s"',
            $fromPath, $toPath, $this->getRepositoryPath()
        ));
    }
public function move($fromPath, $toPath, $force = false)
    {
        $args   = array();
        if ($force) {
            $args[] = '--force';
        }
        $args[] = $this->resolveLocalPath($fromPath);
        $args[] = $this->resolveLocalPath($toPath);

        /** @var $result CallResult */
        $result = $this->getSvn()->{'move'}($this->getRepositoryPath(), $args);
        $result->assertSuccess(sprintf('Cannot move "%s" to "%s" in "%s"',
            $fromPath, $toPath, $this->getRepositoryPath()
        ));
    }
public function move ( $ fromPath , $ toPath , $ force = false ) { $ args = array ( ) ; if ( $ force ) { $ args [ ] = '--force' ; } $ args [ ] = $ this -> resolveLocalPath ( $ fromPath ) ; $ args [ ] = $ this -> resolveLocalPath ( $ toPath ) ; /** @var $result CallResult */ $ result = $ this -> getSvn ( ) -> { 'move' } ( $ this -> getRepositoryPath ( ) , $ args ) ; $ result -> assertSuccess ( sprintf ( 'Cannot move "%s" to "%s" in "%s"' , $ fromPath , $ toPath , $ this -> getRepositoryPath ( ) ) ) ; }
Renames a file but does not commit the changes

@param   string  $fromPath   The source path
@param   string  $toPath     The destination path
@param   boolean $force      True to continue even though SVN reports a possible conflict
Renames a file but does not commit the changes