SvnAliases.

SvnUpdate(ICakeContext, FilePath) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
filePath FilePath The file.

Return Value

Type Description
SvnUpdateResult The resulting revision of the file.