vcs-revision-0.0.1: Facilities for accessing the version control revision of the current directory.

Safe HaskellSafe-Infered

Distribution.VcsRevision.Mercurial

Synopsis

Documentation

getRevision :: IO (Maybe (String, Bool))Source

Nothing if we're not in a mercurial repo, Just (hash,modified) if we're in a repo.