Mercurial > hg > camir-aes2014
annotate core/tools/camircommit.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function camircommit() |
wolffd@0 | 2 % returns the global version of the camir project |
wolffd@0 | 3 |
wolffd@0 | 4 global globalvars; |
wolffd@0 | 5 curpath = pwd; |
wolffd@0 | 6 |
wolffd@0 | 7 % go to camir directory |
wolffd@0 | 8 cd (globalvars.camir.path); |
wolffd@0 | 9 tmp = textscan(evalc('!svnversion'),'%s'); |
wolffd@0 | 10 |
wolffd@0 | 11 % svn commit |
wolffd@0 | 12 svn commit; |
wolffd@0 | 13 |
wolffd@0 | 14 % return to current directory |
wolffd@0 | 15 cd (curpath); |
wolffd@0 | 16 |
wolffd@0 | 17 rev = tmp{1}; |