Changeset 275

Show
Ignore:
Timestamp:
01/18/2007 04:11:59 PM
Author:
luedi
Message:
  • increased version number to 0.22 to take the new encoding parameter into account.
  • added a ssphys version number check to vss2svn
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/script/vss2svn.pl

    r274 r275  
    950950EOTXT 
    951951 
     952    my @version = split '\.', $ssversion; 
     953    # we need at least ssphys 0.22 
     954    if ($version[0] == 0 && $version[1] < 22) { 
     955        &ThrowError("The conversion needs at least ssphys version 0.22"); 
     956    } 
     957 
    952958}  #  End ShowHeader 
    953959 
     
    11261132sub GetSsVersion { 
    11271133    my $out = `\"$gCfg{ssphys}\" --version 2>&1`; 
    1128     $out =~ m/^(ssphys .*?)[:\n]/m; 
    1129  
    1130     return $1 || 'unknown'; 
     1134    # Build numbers look like: 
     1135    #  a.) ssphys 0.20.0, Build 123 
     1136    #  b.) ssphys 0.20.0, Build 123:150  
     1137    #  c.) ssphys 0.20.0, Build 123:150 (locally modified) 
     1138    $out =~ m/^ssphys (.*?), Build (.*?)[ \n]/m;  
     1139 
     1140    # turn it into 
     1141    #  a.) 0.20.0.123 
     1142    #  b.) 0.20.0.123:150 
     1143    #  c.) 0.20.0.123:150 
     1144    return $1 . "." . $2 || 'unknown'; 
    11311145}  #  End GetSsVersion 
    11321146 
     
    13161330        DestroyedProject => {type => 1, action => 'DELETE'}, 
    13171331        RecoveredProject => {type => 1, action => 'RECOVER'}, 
    1318         Restore => {type => 1, action => 'RESTORE'}, 
     1332        ArchiveProject => {type => 1, action => 'DELETE'}, 
     1333        RestoredProject => {type => 1, action => 'RESTORE'}, 
    13191334        CheckedIn => {type => 2, action => 'COMMIT'}, 
    13201335        CreatedFile => {type => 2, action => 'ADD'}, 
     
    13241339        DestroyedFile => {type => 2, action => 'DELETE'}, 
    13251340        RecoveredFile => {type => 2, action => 'RECOVER'}, 
     1341        ArchiveVersionsofFile => {type => 2, action => 'RESTORE'}, 
     1342        ArchiveFile => {type => 2, action => 'DELETE'}, 
     1343        RestoredFile => {type => 2, action => 'RESTORE'}, 
    13261344        SharedFile => {type => 2, action => 'SHARE'}, 
    13271345        BranchFile => {type => 2, action => 'BRANCH'}, 
  • trunk/ssphys/version.in

    r247 r275  
    11#define PRODUCTVER_MAJOR  0 
    2 #define PRODUCTVER_MINOR  21 
     2#define PRODUCTVER_MINOR  22 
    33#define PRODUCTVER_MICRO  0 
    44#define PRODUCTVER_REV    $WCREV$ 

These ads are automatically generated by Google based on the content of this page. Revenue from these ads helps to pay for hosting fees of this site; however, these ads do not constitute an endorsement by PumaCode.org.