Changeset 283
- Timestamp:
- Nov 18, 2011, 4:21:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/check_files.m
r277 r283 31 31 svn_info.rep_rev=[]; 32 32 svn_info.cur_rev=[]; 33 svn_info.status=[]; 33 34 list_fct={... 34 35 'calc_field';...% defines fields (velocity, vort, div...) from civx data and calculate them … … 149 150 [~,result]=system('svn status'); 150 151 svn_info.status=result; 151 end 152 153 if svn_info.rep_rev>svn_info.cur_rev 154 errormsg {length(errormsg)+1}=['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder']; 155 end 156 157 modifications=regexp(svn_info.status,'M\s[^(\n|\>)]+','match'); 158 159 if ~isempty(modifications) 160 for k=1:length(modifications) 161 errormsg {length(errormsg)+1}=modifications{k}; 152 if svn_info.rep_rev>svn_info.cur_rev 153 errormsg {length(errormsg)+1}=['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder']; 154 end 155 156 modifications=regexp(svn_info.status,'M\s[^(\n|\>)]+','match'); 157 158 if ~isempty(modifications) 159 for k=1:length(modifications) 160 errormsg {length(errormsg)+1}=modifications{k}; 161 end 162 162 end 163 163 end 164 164 errormsg=errormsg'; 165
Note: See TracChangeset
for help on using the changeset viewer.