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 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 |
---|---|
Cake |
|
Cake |
|
Cake |
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.
|