-
Notifications
You must be signed in to change notification settings - Fork 3
SVN Module
Matthew Kelly edited this page Jun 29, 2016
·
1 revision
The SVN module allows you to checkout a remote repository. You can specify a specific revision, and the name you wish to give the directory locally.
If the module finds a directory with the already passed name
property, then the directory will first be backed-up.
If SVN is not installed on the machine, this module will attempt to install it for you.
Key | Type | Description | Values |
---|---|---|---|
url | string | The URL for the SVN repository to checkout | - |
revision | string | [Optional] The revision on the repository to checkout | - |
path | string | The path at which to checkout the repository | - |
name | string | The name of the directory into which to checkout the repository | - |
The following is an example of using the SVN type in a paint section:
{
"paint": [
{
"type": "svn",
"url": "https://url.to.some/svn/project",
"revision": "12345",
"path": "C:\\path\\to\\some\\where",
"name": "NewProject"
}
]
}
The above will checkout the repository found at https://url.to.some/svn/project
, to the local path specified at C:\path\to\some\where
into a directory called NewProject
. Once checked-out, the module will checkout to the 12345
revision of the repository.
The erase section is similar to the paint section.