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
Updates the Subversion directory tree defined by the supplied directoryPath
with specific settings.
The new revision is returned as the result of the operation.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static SvnUpdateResult SvnUpdate(this ICakeContext context, DirectoryPath directoryPath, SvnUpdateSettings settings)
Examples
Update a Subversion directory tree to a specific revision.
var svnUpdateSettings = new SvnUpdateSettings
{
Revision = 42;
};
Verbose("Revision: {0}", updateResult.Revision);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
directoryPath | DirectoryPath | The directory. |
settings | SvnUpdateSettings | The settings. |
Return Value
Type | Description |
---|---|
SvnUpdateResult | A result object containing the resulting revision of the directoryPath. |