Changeset 299
- Timestamp:
- 02/10/2007 08:06:09 PM
- Files:
-
- trunk/script/Vss2Svn/ActionHandler.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/script/Vss2Svn/ActionHandler.pm
r298 r299 1132 1132 my($self, $physname, $parentphys, $version) = @_; 1133 1133 1134 my $physinfo = $gPhysInfo{$physname}; 1135 if (!defined $physinfo) { 1136 return undef; 1137 } 1138 1139 if (!defined $version) { 1140 $version = $physinfo->{last_version}; 1141 } 1142 1134 1143 # 0.) If the version we are looking for is prior to the first version of this 1135 1144 # item (e.g in a branch / Pin situation), we need to check the ancestor 1136 my $physinfo = $gPhysInfo{$physname};1137 1145 if (defined $physinfo && 1138 1146 $version < $physinfo->{first_version}) { … … 1165 1173 return undef; 1166 1174 } 1167 1168 if (!defined $version) {1169 $version = $physinfo->{last_version};1170 }1171 1172 1175 # 1. check the parent requested, if there was an item name for this version 1173 1176 # we can use this item name, since it was valid in that time
