HgAliases.

HgPush(ICakeContext, DirectoryPath, HgPushSettings) Method

Summary

Push local changes to remote repository.
Assembly
Cake.Hg.dll
Namespace
Cake.Hg
Containing Type
HgAliases

Syntax

public static void HgPush(this ICakeContext context, DirectoryPath repositoryPath, HgPushSettings settings)

Examples

HgPush("./", new HgPushSettings
{
    User = "user",
    Password = "password",
    Url = "https://bitbucket.org/mycompany/myrepository
});

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext Cake context
repositoryPath DirectoryPath Path to repository
settings HgPushSettings Push settings

Return Value

Type Description
void