Mercurial > repos > public > sbplib
view hgRevision.m @ 1265:6696b216b982 feature/poroelastic
Start working on displacement bc, clean up traction.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 30 Apr 2020 11:30:55 -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