TQ\Svn\Repository\Repository::remove PHP Method

remove() public method

Removes one or more files from the repository but does not commit the changes
public remove ( array $file, boolean $recursive = false, boolean $force = false )
$file array The file(s) to be removed
$recursive boolean True to recursively remove subdirectories
$force boolean True to continue even though SVN reports a possible conflict
    public function remove(array $file, $recursive = false, $force = false)
    {
        $args = array();
        if ($force) {
            $args[] = '--force';
        }
        $args[] = '--';
        $args = array_merge($args, $this->resolveLocalGlobPath($file));
        /** @var $result CallResult */
        $result = $this->getSvn()->{'delete'}($this->getRepositoryPath(), $args);
        $result->assertSuccess(sprintf('Cannot remove "%s" from "%s"', implode(', ', $file), $this->getRepositoryPath()));
    }