Changeset 710 for trunk/src/check_files.m
- Timestamp:
- Feb 16, 2014, 5:35:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/check_files.m
r709 r710 163 163 svn_info.rep_rev=0;svn_info.cur_rev=0; 164 164 [tild,result]=system(['svn info ' dir_fct]); %get info fromn the svn server 165 t=regexp(result,'R.vision\s*:\s*(?<rev>\d+)','names');%detect 'r évision' or 'Revision' in the text165 t=regexp(result,'R.vision\s*:\s*(?<rev>\d+)','names');%detect 'rï¿œvision' or 'Revision' in the text 166 166 if ~isempty(t) 167 167 svn_info.cur_rev=str2double(t.rev); %version nbre of the current package 168 168 end 169 [tild,result]=system(['svn info -r ''HEAD'' ' pathuvmat ' &']);169 [tild,result]=system(['svn info -r ''HEAD'' ' pathuvmat]); 170 170 t=regexp(result,'R.vision\s*:\s*(?<rev>\d+)','names'); 171 171 if ~isempty(t) 172 172 svn_info.rep_rev=str2double(t.rev); % version nbre available on the svn repository 173 173 end 174 [tild,result]=system(['svn status ' pathuvmat ' &']);% '&' prevents the program to stop when the system asks password174 [tild,result]=system(['svn status ' pathuvmat]);% '&' prevents the program to stop when the system asks password 175 175 svn_info.status=result; 176 176 checkmsg =[checkmsg {['SVN revision : ' num2str(svn_info.cur_rev)]}];%display version nbre of the current uvmat package
Note: See TracChangeset
for help on using the changeset viewer.