This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Svn.
Summary
Checkout a Subversion directory tree with specific settings.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static SvnCheckoutResult SvnCheckout(this ICakeContext context, Uri repositoryUrl, DirectoryPath path, SvnCheckoutSettings settings)
Examples
Checkout root files from a SVN repository while overwriting files in the target location and output revision ID:
var settings =
new SvnCheckoutSettings
{
Overwrite = true,
Depth = SvnDepth.Files
};
var result = SvnCheckout(
new Uri("https://svn.example.com"),
@"c:\repo",
settings);
Verbose("Revision: {0}", result.Revision);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
repositoryUrl | Uri | The URL of the Subversion repository. |
path | DirectoryPath | The local directory name. |
settings | SvnCheckoutSettings | The settings. |
Return Value
Type | Description |
---|---|
SvnCheckoutResult | Result of the Checkout operation. |