HgAliases Class

Summary

Contains functionality for working with Mercurial.
#addin Cake.Hg
Assembly
Cake.Hg.dll
Namespace
Cake.Hg
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["HgAliases"] class Type type-node

Syntax

public static class HgAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
Hg(ICakeContext, DirectoryPath) Repository
Return mercurial repository.
static
HgCommit(ICakeContext, DirectoryPath, string) void
Create mercurial commit.
static
HgDiff(ICakeContext, DirectoryPath, RevSpec) string
Get diff of repository.
static
HgInit(ICakeContext, DirectoryPath) void
Init mercurial repository.
static
HgMerge(ICakeContext, DirectoryPath, string, string) MergeResult
Perform merge of two branches
static
HgPush(ICakeContext, DirectoryPath, HgPushSettings) void
Push local changes to remote repository.
static
HgPush(ICakeContext, DirectoryPath) void
Push local changes to remote repository.
static
HgTag(ICakeContext, DirectoryPath, string) void
Apply a symbolic identifier for a changeset [tag].
static
HgTags(ICakeContext, DirectoryPath) IEnumerable<Tag>
Get list of current tags.
static
HgTip(ICakeContext, DirectoryPath) Changeset
Get the tip revision.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin