Mercurial > repos > public > sbplib
view hgRevision.m @ 1271:b5025bd67be1 feature/poroelastic
Allow using D1 D1 in VariableAnisotropicUpwind
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 31 May 2020 21:58:40 -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