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
Runs SVN cleanup on the given directory using given settings 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, SvnCleanUpSettings settings)
Examples
Cleans a directory inside of a SVN working copy.
SvnCleanUpSettings settings = new SvnCleanUpSettings
{
IncludeExternals = true
};
bool directoryCleaned = SvnCleanUp(@"C:\project\src\", settings);
Verbose("Directory Cleaned: {0}", directoryCleaned);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directory | DirectoryPath | The directory. |
settings | SvnCleanUpSettings | Settings to use. |
Return Value
Type | Description |
---|---|
bool |
true if the command was successful. Otherwise false will be returned.
|