Changeset 476 for trunk/src/check_files.m
- Timestamp:
- Jun 25, 2012, 10:50:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/check_files.m
r475 r476 54 54 'fileparts_uvmat';...% extracts the root name,field indexes and nomenclature type from an input filename 55 55 'fill_GUI';...% fill a GUI with handles 'handles' from input data Param 56 'filter_tps';...% find the thin plate spline coefficients for interpolation-smoothing 56 57 'find_field_indices';...% group the variables of a nc-formated Matlab structure into 'fields' with common dimensions 57 58 'find_file_series';...%check the content of an input file and find the corresponding file series … … 128 129 129 130 %% loop on the list of functions in the uvmat package 130 131 131 icount=0; 132 132 datnum=zeros(1,length(list_fct)); … … 160 160 [tild,result]=system(['svn status' dir_fct]); 161 161 svn_info.status=result; 162 errormsg =[errormsg {['SVN revision : ' num2str(svn_info.cur_rev)]}]; 162 163 if svn_info.rep_rev>svn_info.cur_rev 163 errormsg {length(errormsg)+1}=['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder']; 164 errormsg =[errormsg ... 165 {['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder']}]; 164 166 end 165 167 modifications=regexp(svn_info.status,'M\s[^(\n|\>)]+','match'); 166 168 if ~isempty(modifications) 167 for k=1:length(modifications) 168 errormsg {length(errormsg)+1}=modifications{k}; 169 end 169 errormsg=[errormsg modifications]; 170 170 end 171 else 172 errormsg=[errormsg {'SVN not available'}]; 171 173 end 172 174 catch ME 173 errormsg= ME.message;175 errormsg=[errormsg {'SVN not available'}]; 174 176 end 175 177 errormsg=errormsg';
Note: See TracChangeset
for help on using the changeset viewer.