Mercurial > repos > public > sbplib
view hgRevision.m @ 1304:a38e80fdbf60 feature/poroelastic
Improve performance for the hollow case
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sat, 11 Jul 2020 07:25:06 -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