view hgRevision.m @ 1064:1341c6cea9c1 feature/laplace_curvilinear_test

Set tuning to 1.0 in both old and new Dirichlet.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 17 Jan 2019 18:18:00 -0800
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