SvnAliases.

SvnCheckout(ICakeContext, Uri, DirectoryPath) Method

Summary

Checkout a Subversion directory tree.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Containing Type
SvnAliases

Syntax

public static SvnCheckoutResult SvnCheckout(this ICakeContext context, Uri repositoryUrl, DirectoryPath path)

Examples

Checkout a SVN repository and output revision ID:

 var result = SvnCheckout(
         new Uri("https://svn.example.com"),
         @"c:\repo");

     Verbose("Revision: {0}", result.Revision);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
repositoryUrl Uri The URL of the Subversion repository.
path DirectoryPath The local directory name.

Return Value

Type Description
SvnCheckoutResult Result of the Checkout operation.