Cake.Hg

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

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

<package id="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

Diff

Hg

Hg(ICakeContext, DirectoryPath) Return mercurial repository.

Init

HgInit(ICakeContext, DirectoryPath) Init mercurial repository.

Merge

Push

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

Tag

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

Tip

HgTip(ICakeContext, DirectoryPath) Get the tip revision.