RevSpec.

CommonAncestorOf(RevSpec, RevSpec) Method

Summary

Create a RevSpec that includes the changeset that is the common ancestor of the two single changeset specifications.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
RevSpec

Syntax

public static RevSpec CommonAncestorOf(RevSpec single1, RevSpec single2)

Parameters

Name Type Description
single1 RevSpec A RevSpec identifying a single changeset that is one of the two ancestors of the changeset to select, single2 is the other.
single2 RevSpec A RevSpec identifying a single changeset that is one of the two ancestors of the changeset to select, single1 is the other.

Return Value

Type Description
RevSpec A RevSpec that includes the changeset that is the common ancestor of both single1 and single2.