SvnAliases.

SvnAddDirectory(ICakeContext, DirectoryPath) Method

Summary

Add a directory to Subversion.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Containing Type
SvnAliases

Syntax

public static bool SvnAddDirectory(this ICakeContext context, DirectoryPath directory)

Examples

Add a directory to Subversion.

 var directoryAdded = SvnAddDirectory(@"C:\project\src\");

     Verbose("Directory added: {0}", directoryAdded);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
directory DirectoryPath The directory.

Return Value

Type Description
bool true if the command was successful. Otherwise false will be returned.