- Timestamp:
- Feb 4, 2014, 4:44:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dasscm/trunk/usr/bin/dasscm
r1158 r1166 50 50 'init' => 'init', 51 51 'ls' => 'ls', 52 'log' => 'log', 52 53 'update' => 'update', 53 54 'up' => 'update', … … 101 102 'params' => ["PATH_REPO"], 102 103 'function' => \&ls 104 }, 105 'log' => { 106 'desc' => ["show the log messages of commits"], 107 'params' => ["PATH_REPO"], 108 'function' => \&log 103 109 }, 104 110 'update' => { … … 278 284 279 285 if ( !$file ) { 280 fatalerror( "failed to open config file " . $file );286 fatalerror( "failed to open config file " . $file ); 281 287 } 282 288 … … 285 291 # try to open config file 286 292 if ( !open( FH, $file ) ) { 287 fatalerror( "failed to open config file " . $file );293 fatalerror( "failed to open config file " . $file ); 288 294 } else { 289 295 while (<FH>) { … … 1263 1269 } 1264 1270 1271 sub log(@) 1272 { 1273 my $return_code = $RETURN_OK; 1274 check_parameter( @_, 1 ); 1275 check_env(); 1276 1277 check_parameter( @_, 1 ); 1278 check_env(); 1279 1280 ( 1281 my $basename, 1282 my $dirname_prod, 1283 my $dirname_repo, 1284 my $filename_prod, 1285 my $filename_repo 1286 ) = get_filenames( $_[0] ); 1287 1288 my $retcode = run_interactive("$SVN log --non-interactive --verbose $svnCheckoutCredentials $svnOptions $filename_repo"); 1289 return $retcode; 1290 } 1291 1265 1292 sub update(@) 1266 1293 {
Note:
See TracChangeset
for help on using the changeset viewer.