Changeset 275
- Timestamp:
- 01/18/2007 04:11:59 PM
- Files:
-
- trunk/script/vss2svn.pl (modified) (4 diffs)
- trunk/ssphys/version.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/script/vss2svn.pl
r274 r275 950 950 EOTXT 951 951 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 952 958 } # End ShowHeader 953 959 … … 1126 1132 sub GetSsVersion { 1127 1133 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'; 1131 1145 } # End GetSsVersion 1132 1146 … … 1316 1330 DestroyedProject => {type => 1, action => 'DELETE'}, 1317 1331 RecoveredProject => {type => 1, action => 'RECOVER'}, 1318 Restore => {type => 1, action => 'RESTORE'}, 1332 ArchiveProject => {type => 1, action => 'DELETE'}, 1333 RestoredProject => {type => 1, action => 'RESTORE'}, 1319 1334 CheckedIn => {type => 2, action => 'COMMIT'}, 1320 1335 CreatedFile => {type => 2, action => 'ADD'}, … … 1324 1339 DestroyedFile => {type => 2, action => 'DELETE'}, 1325 1340 RecoveredFile => {type => 2, action => 'RECOVER'}, 1341 ArchiveVersionsofFile => {type => 2, action => 'RESTORE'}, 1342 ArchiveFile => {type => 2, action => 'DELETE'}, 1343 RestoredFile => {type => 2, action => 'RESTORE'}, 1326 1344 SharedFile => {type => 2, action => 'SHARE'}, 1327 1345 BranchFile => {type => 2, action => 'BRANCH'}, trunk/ssphys/version.in
r247 r275 1 1 #define PRODUCTVER_MAJOR 0 2 #define PRODUCTVER_MINOR 2 12 #define PRODUCTVER_MINOR 22 3 3 #define PRODUCTVER_MICRO 0 4 4 #define PRODUCTVER_REV $WCREV$
