revparse
Execute a rev-parse operation against the spec listed.
The resulting revision specification is returned, or an error is returned if one occurs.
Signature
ts
class Repository {
revparse(spec: string): Revspec;
}Parameters
- specrequired · string
Revision string.
Returns
- Revspec
- fromstring
Access the
fromrange of this revspec. - moderequired · number
Returns the intent of the revspec.
- tostring
Access the
torange of this revspec.
- fromstring
