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 vacuum on the given directory using given settings settings.
SVN vacuum removes all ignored and unversioned files and directories.
This does not revert any modifications to files within the working copy.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static bool SvnVacuum(this ICakeContext context, DirectoryPath directory, SvnVacuumSettings settings)
Examples
Vacuums a directory inside of a SVN working copy.
SvnVacuumSettings settings = new SvnVacuumSettings
{
IncludeExternals = true
};
bool vacuumed = SvnVacuum(@"C:\project\src\");
Verbose("Directory Vacuumed: {0}", vacuumed);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directory | DirectoryPath | The directory. |
settings | SvnVacuumSettings | Settings to use. |
Return Value
Type | Description |
---|---|
bool |
true if the command was successful. Otherwise false will be returned.
|