Repository.

Cat(string, CatCommand) Method

Summary

Retrieve the current or given revisions of file(s).
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Repository

Syntax

public string Cat(string filename, CatCommand command = null)

Parameters

Name Type Description
filename string The name of the file to retrieve.
command CatCommand Any extra options to the cat method, or null for default options.

Return Value

Type Description
string Returns the output from the cat command, which if only one file is retrieved, will be the contents of that file. Note that binary files might be mangled, so retrieve these to disk.