SvnAliases.

SvnVacuum(ICakeContext, DirectoryPath) Method

Summary

Runs SVN vacuum on the given directory using default 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)

Examples

Vacuums a directory inside of a SVN working copy.

 bool vacuumed = SvnVacuum(@"C:\project\src\");

     Verbose("Directory Vacuumed: {0}", vacuumed);

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.