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.
The new revision is returned as the result of the operation. To update to a specific revision
the overload
Cake.Svn.SvnAliases.SvnUpdate(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Update.SvnUpdateSettings)
can be used with the settings parameter.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static SvnUpdateResult SvnUpdate(this ICakeContext context, DirectoryPath directoryPath)
Examples
Update a Subversion directory tree.
var updateResult = SvnUpate(@"C:\project\src\");
Verbose("Revision: {0}", updateResult.Revision);
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The Cake context. |
| directoryPath | DirectoryPath | The directory. |
Return Value
| Type | Description |
|---|---|
| SvnUpdateResult | A result object containing the resulting revision of the directoryPath. |
