> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# copy (Subversion)

> Copies a SVN repository URL from one path to another (used to create tags). Inputs Input Name Input Code Required Description Instance Code FDSVN INP

Copies a SVN repository URL from one path to another (used to create tags).

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Instance Code</td><td>`FDSVN_INP_INSTANCE_CODE`</td><td>Yes</td><td>SubVersion repository instance code.\
\
Instance code is used to lookup the Repository URL (`FDSVN_URL`), User (`FDSVN_USER`) and Password (`FDSVN_PASSWORD`).\
\
This SCM Instance must be configured in FlexDeploy prior to using the plugin.</td></tr><tr><td>Source Subfolder</td><td>`FDSVN_INP_SOURCE_PATH`</td><td>Yes</td><td>Subversion repository path to be used as source for the copy operation.\
\
This path is relative to SVN Repository URL (`FDSVN_URL`).</td></tr><tr><td>Revision Number</td><td>`FDSVN_INP_REVISION_NUMBER`</td><td>No</td><td>Source path Revision for the copy.</td></tr><tr><td>Target Path</td><td>`FDSVN_INP_TARGET_PATH`</td><td>Yes</td><td>Subversion repository path to be created with the copy operation.\
\
This path is relative to SVN Repository URL (`FDSVN_URL`).</td></tr><tr><td>Revision Message</td><td>`FDSVN_INP_REVISION_MESSAGE`</td><td>No</td><td>Message indicating purpose of the copy operation.</td></tr></tbody></table>

# Artifacts

This operation doesn't consume or produce any artifacts.

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the Target.

Selecting a specific resource will result in selection of endpoints associated to the Target which have that resource defined.

# Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" will result in execution on all selected endpoints.

# Exceptions

The following exceptions may be thrown by this operation:\
`FDSVN-00100 – indicates that the source SVN path doesn't exist or the plugin inputs are incorrect.`\
`FDSVN-00101 – indicates that the target SVN path exists, the path is created by the copy so the path shouldn't exist in SVN.`
