HgAliases.

HgDiff(ICakeContext, DirectoryPath, RevSpec) Method

Summary

Get diff of repository.
Assembly
Cake.Hg.dll
Namespace
Cake.Hg
Containing Type
HgAliases

Syntax

public static string HgDiff(this ICakeContext context, DirectoryPath repositoryPath, RevSpec revisions)

Examples

var diff = HgDiff("./", "6b0f32157b9045a9495821db1927348250076e6b:e40ce466124109a074af6dc582c1d54db3e9cd01");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext Cake context
repositoryPath DirectoryPath Path to repository
revisions RevSpec Revision or revision range to view a diff

Return Value

Type Description
string