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
from
range of this revspec. - moderequired · number
Returns the intent of the revspec.
- tostring
Access the
to
range of this revspec.
- fromstring