Lines Matching refs:fullPath

226     my ($fullPath, $contents) = @_;
232 open FILE, ">", $fullPath or die "Failed to open $fullPath.";
235 if (!scmKnowsOfFile($fullPath)) {
237 scmAdd($fullPath);
241 scmRemove($fullPath);
247 my ($fullPath, $diffHashRef) = @_;
251 my ($binaryChunkType, $binaryChunk, $reverseBinaryChunkType, $reverseBinaryChunk) = decodeGitBinaryPatch($contents, $fullPath);
257 if (open FILE, $fullPath) {
258 die "$fullPath already exists" if $isFileAddition;
265 die "Original content of $fullPath mismatches" if $originalContents ne $reverseBinaryChunk;
269 scmRemove($fullPath);
279 die "Original content of $fullPath mismatches" if $originalContents ne applyGitBinaryPatchDelta($reverseBinaryChunk, $out);
281 open FILE, ">", $fullPath or die "Failed to open $fullPath.";
285 scmAdd($fullPath);
320 my $fullPath = $diffHashRef->{indexPath};
333 if (basename($fullPath) eq "ChangeLog") {
334 my $changeLogDotOrigExisted = -f "${fullPath}.orig";
337 applyPatch($newPatch, $fullPath, ["--fuzz=3"]);
338 unlink("${fullPath}.orig") if (! $changeLogDotOrigExisted);
340 applyPatch($patch, $fullPath);
345 addDirectoriesIfNeeded(dirname($fullPath));
349 handleGitBinaryChange($fullPath, $diffHashRef);
351 handleBinaryChange($fullPath, $patch) if $patch;
354 applyPatch($patch, $fullPath, ["--force"]) if $patch;
355 scmRemove($fullPath);
358 rename($fullPath, "$fullPath.orig") if -e $fullPath;
359 applyPatch($patch, $fullPath) if $patch;
360 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
361 scmAdd($fullPath);
362 my $escapedFullPath = escapeSubversionPath("$fullPath.orig");
364 system("svn", "stat", "$escapedFullPath") if isSVN() && -e "$fullPath.orig";
368 scmToggleExecutableBit($fullPath, $diffHashRef->{executableBitDelta}) if defined($diffHashRef->{executableBitDelta});