SvnAliases.

SvnCleanUp(ICakeContext, DirectoryPath) Method

Summary

Runs SVN cleanup on the given directory using default settings. SVN cleanup removes all working copy locks left behind by crashed clients.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Containing Type
SvnAliases

Syntax

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

Examples

Cleans a directory inside of a SVN working copy.

 bool directoryCleaned = SvnCleanUp(@"C:\project\src\");

     Verbose("Directory Cleaned: {0}", directoryCleaned);

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.