Ignore:
Timestamp:
Oct 14, 2007, 8:36:47 PM (12 years ago)
Author:
bruno
Message:

Improved newver again

File:
1 edited

Legend:

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

    r206 r208  
    380380
    381381if ($cms->{$ENV{'PBPROJ'}} eq "svn") {
    382     pb_system("svn copy $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 {
     
    394394if ($cms->{$ENV{'PBPROJ'}} eq "svn") {
    395395    pb_system("svn co $url $destination","Checking $url to $destination ");
     396} elsif ($cms->{$ENV{'PBPROJ'}} eq "cvs") {
     397} else {
     398    die "cms $cms->{$ENV{'PBPROJ'}} unknown";
     399}
     400}
     401
     402sub pb_cms_checkin {
     403my $cms = shift;
     404my $dir = shift;
     405
     406if ($cms->{$ENV{'PBPROJ'}} eq "svn") {
     407    pb_system("svn ci $dir","Checking in $dir");
     408    pb_system("svn up $dir","Updating $dir");
    396409} elsif ($cms->{$ENV{'PBPROJ'}} eq "cvs") {
    397410} else {
Note: See TracChangeset for help on using the changeset viewer.