Mercurial > repos > public > sbplib
view hgRevision.m @ 1313:a4c8bf2371f3 feature/poroelastic
Add viscoelastic fault interface
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 22 Jul 2020 15:35:25 -0700 |
parents | fd85412c7a99 |
children |
line wrap: on
line source
% Returns the short mercurial revision Id. % ok is false if there are uncommited changes. function [revId, ok] = hgRevision() [~, s] = system('hg id -i'); revId = strtrim(s); ok = s(end) ~= '+'; end