Mercurial > repos > public > sbplib
view hgRevision.m @ 902:306f5b3cd7bc
Merged in bcSetupExperiment (pull request #10)
Improved bulk boundary condition handling
Approved-by: Martin Almquist <malmquist@stanford.edu>
author | Jonatan Werpers <jonatan.werpers@it.uu.se> |
---|---|
date | Sat, 24 Nov 2018 14:55:48 +0000 |
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