Mercurial > repos > public > sbplib
view hgRevision.m @ 1126:465fc81e12e8 feature/poroelastic
Copy-paste improved Curve class from feature/laplace_curvilinear_test
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 13 May 2019 10:18: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