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
Update an individual file at filePath in a Subversion tree.
- Assembly
- Cake
.Svn .dll - Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
public static SvnUpdateResult SvnUpdate(this ICakeContext context, FilePath filePath)
Examples
Updates an individual file at filePath in a Subversion tree.
var updateResult = SvnUpdate(@"C:\project\src\file.cs");
Verbose("Revision: {0}", updateResult.Revision);
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The Cake context. |
| filePath | FilePath | The file. |
Return Value
| Type | Description |
|---|---|
| SvnUpdateResult | The resulting revision of the file. |
