Home | History | Annotate | Download | only in Scripts

Lines Matching refs:fullPath

221     my ($fullPath, $contents) = @_;
227 open FILE, ">", $fullPath or die "Failed to open $fullPath.";
230 if (!scmKnowsOfFile($fullPath)) {
232 scmAdd($fullPath);
236 scmRemove($fullPath);
242 my ($fullPath, $diffHashRef) = @_;
246 my ($binaryChunkType, $binaryChunk, $reverseBinaryChunkType, $reverseBinaryChunk) = decodeGitBinaryPatch($contents, $fullPath);
252 if (open FILE, $fullPath) {
253 die "$fullPath already exists" if $isFileAddition;
260 die "Original content of $fullPath mismatches" if $originalContents ne $reverseBinaryChunk;
264 scmRemove($fullPath);
274 die "Original content of $fullPath mismatches" if $originalContents ne applyGitBinaryPatchDelta($reverseBinaryChunk, $out);
276 open FILE, ">", $fullPath or die "Failed to open $fullPath.";
280 scmAdd($fullPath);
315 my $fullPath = $diffHashRef->{indexPath};
327 if (basename($fullPath) eq "ChangeLog") {
328 my $changeLogDotOrigExisted = -f "${fullPath}.orig";
331 applyPatch($newPatch, $fullPath, ["--fuzz=3"]);
332 unlink("${fullPath}.orig") if (! $changeLogDotOrigExisted);
334 applyPatch($patch, $fullPath) if $patch;
339 addDirectoriesIfNeeded(dirname($fullPath));
343 handleGitBinaryChange($fullPath, $diffHashRef);
345 handleBinaryChange($fullPath, $patch) if $patch;
348 applyPatch($patch, $fullPath, ["--force"]) if $patch;
349 scmRemove($fullPath);
352 rename($fullPath, "$fullPath.orig") if -e $fullPath;
353 applyPatch($patch, $fullPath) if $patch;
354 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
355 scmAdd($fullPath);
357 system("svn", "stat", "$fullPath.orig") if isSVN() && -e "$fullPath.orig";
361 scmToggleExecutableBit($fullPath, $diffHashRef->{executableBitDelta}) if defined($diffHashRef->{executableBitDelta});