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.Hg.
Summary
Get diff of repository.
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