Repository.

Parents(ParentsCommand) Method

Summary

Retrieve the parents of the working directory or revision.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Repository

Syntax

public IEnumerable<Changeset> Parents(ParentsCommand command = null)

Parameters

Name Type Description
command ParentsCommand Any extra options to the parents method, or null for default options.

Return Value

Type Description
IEnumerable<T> A collection of Changeset objects, the parents of the working directory or the specified revision.