query
On this page

revOrTag

lib.sources.revOrTag

Docs pulled from | This Revision | about 1 hour ago


Turn git rev and tag pair into a revision usable in repoRevToName*.


Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

revOrTag =
    rev: tag:
    if tag != null then
      tag
    else if rev != null then
      rev
    else
      "HEAD";