revisionForCommit($commit)
Determines the revision that belongs to a given commit.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| commit | Number | The commit number of the revision to be determined. | yes |
Type: Revision
The revision for a given commit number.