Changeset 212


Ignore:
Timestamp:
10/14/07 20:49:04 (6 years ago)
Author:
bruno
Message:

Adds a -m option to svn ci

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Base.pm

    r208 r212  
    380380 
    381381if ($cms->{$ENV{'PBPROJ'}} eq "svn") { 
    382     pb_system("svn copy -m 'Creation of $newurl from $oldurl' $oldurl $newurl","Copying $oldurl to $newurl "); 
     382    pb_system("svn copy -m \"Creation of $newurl from $oldurl\" $oldurl $newurl","Copying $oldurl to $newurl "); 
    383383} elsif ($cms->{$ENV{'PBPROJ'}} eq "cvs") { 
    384384} else { 
     
    404404my $dir = shift; 
    405405 
    406 if ($cms->{$ENV{'PBPROJ'}} eq "svn") { 
    407     pb_system("svn ci $dir","Checking in $dir"); 
     406my $ver = basename($dir); 
     407if ($cms->{$ENV{'PBPROJ'}} eq "svn") { 
     408    pb_system("svn ci -m \"Updated to $ver\" $dir","Checking in $dir"); 
    408409    pb_system("svn up $dir","Updating $dir"); 
    409410} elsif ($cms->{$ENV{'PBPROJ'}} eq "cvs") { 
Note: See TracChangeset for help on using the changeset viewer.