# classes/phing/tasks/ext/svn/SvnSwitchTask.php

## \SvnSwitchTask
jump to top

Switches a repository at a given local directory to a different location

Use {@link Project#createTask} to register a new Task.

Extends from
  \SvnBaseTask
author
  Dom Udall
copyright
  2001,2002 THYRELL. All rights reserved
package
  phing.tasks.ext.svn
since
  2.4.3
version
  $Id: SvnSwitchTask.php 889 2010-09-27 05:46:46Z victor $

### Properties

`string $revision= 'HEAD'`

Which Revision to Export

Default value `HEAD` Details

Type
  string
todo
  check if version_control_svn supports constants

### Methods

`getRevision( ) :`
`main( ) :`
The main entry point
Details

throws

`setRevision( $revision ) :`
Parameters

Name | Type | Description
--- | --- | ---
$revision |  |

Documentation was generated by DocBlox 0.13.1.