Revision to a commit

Syntax

	revisionForCommit($commit)

Description

Determines the revision that belongs to a given commit.

Parameters

Name Type Description Mandatory Default
commit Number The commit number of the revision to be determined. yes

Return value

Type: Revision

The revision for a given commit number.