comparison hgRevision.m @ 1018:eca4d9df9365 feature/advectionRV

Merge with default for latest changes
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 11 Dec 2018 17:31:28 +0100
parents fd85412c7a99
children
comparison
equal deleted inserted replaced
1017:2d7c1333bd6c 1018:eca4d9df9365
1 % Returns the short mercurial revision Id.
2 % ok is false if there are uncommited changes.
3 function [revId, ok] = hgRevision()
4 [~, s] = system('hg id -i');
5 revId = strtrim(s);
6
7 ok = s(end) ~= '+';
8 end