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