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
Add a directory to Subversion.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static bool SvnAddDirectory(this ICakeContext context, DirectoryPath directory, SvnAddSettings settings)
Examples
Add a directory to Subversion.
var svnAddSettings =
new SvnAddSettings
{
Force = true
};
var directoryAdded = SvnAddDirectory(@"C:\project\src\", svnAddSettings);
Verbose("Directory added: {0}", directoryAdded);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directory | DirectoryPath | The directory. |
settings | SvnAddSettings | The settings. |
Return Value
Type | Description |
---|---|
bool |
true if the command was successful. Otherwise false will be returned.
|