vcs-revision-0.0.1: Facilities for accessing the version control revision of the current directory.
Distribution.VcsRevision.Mercurial
Synopsis
getRevision :: IO (Maybe (String, Bool))Source
Nothing if we're not in a mercurial repo, Just (hash,modified) if we're in a repo.