TQ\Svn\Repository\Repository::move PHP Method

move() public method

Renames a file but does not commit the changes
public move ( string $fromPath, string $toPath, boolean $force = false )
$fromPath string The source path
$toPath string The destination path
$force boolean True to continue even though SVN reports a possible conflict
    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()));
    }