Cake.Hg

Cake AddIn that extends Cake with Mercurial features using Mercurial.Net

#addin nuget:?package=Cake.Hg&version=0.2.0

dotnet add package Cake.Hg --version 0.2.0

<PackageReference Include="Cake.Hg" Version="0.2.0" />

Aliases

Contains functionality for working with Mercurial.
#addin Cake.Hg

Commit

HgCommit(DirectoryPath, string) Create mercurial commit.

Diff

HgDiff(DirectoryPath, RevSpec) Get diff of repository.

Hg

Hg(DirectoryPath) Return mercurial repository.

Init

HgInit(DirectoryPath) Init mercurial repository.

Merge

HgMerge(DirectoryPath, string, string) Perform merge of two branches

Push

HgPush(DirectoryPath, HgPushSettings) Push local changes to remote repository.
HgPush(DirectoryPath) Push local changes to remote repository.

Tag

HgTag(DirectoryPath, string) Apply a symbolic identifier for a changeset [tag].
HgTags(DirectoryPath) Get list of current tags.

Tip

HgTip(DirectoryPath) Get the tip revision.