Repository.

Diff(RevSpec, DiffCommand) Method

Summary

Diff repository (or selected files).
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Repository

Syntax

public string Diff(RevSpec revisions, DiffCommand command = null)

Parameters

Name Type Description
revisions RevSpec The RevSpec that identifies the revision or the revision range to view a diff of.
command DiffCommand Any extra options to the diff method, or null for default options.

Return Value

Type Description
string The diff command output.