RevSpec.

GreatestCommonAncestorOf(RevSpec, RevSpec) Method

Summary

Create a RevSpec that includes the greatest common ancestor of the two changesets.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
RevSpec

Syntax

public static RevSpec GreatestCommonAncestorOf(RevSpec revision1, RevSpec revision2)

Parameters

Name Type Description
revision1 RevSpec The first revision of which to find the ancestor of.
revision2 RevSpec The second revision of which to find the ancestor of.

Return Value

Type Description
RevSpec The RevSpec that includes the greatest common ancestor of the two changesets.