Mercurial > repos > public > sbplib
view hgRevision.m @ 946:706d1c2b4199 feature/utux2D
Raname opts to type in a bunch of interface methods
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 05 Dec 2018 15:57:41 +0100 |
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