Mercurial > repos > public > sbplib
view hgRevision.m @ 1312:6d64b57caf46 feature/poroelastic
Add viscoelastic regular interfaces
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 21 Jul 2020 21:07:37 -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