Lines Matching refs:fullPath
146 my $fullPath = $diffHashRef->{indexPath};
149 $directoriesToCheck{dirname($fullPath)} = 1;
159 if (basename($fullPath) eq "ChangeLog") {
160 my $changeLogDotOrigExisted = -f "${fullPath}.orig";
162 unapplyPatch(unsetChangeLogDate($fullPath, $changeLogHash->{patch}), $fullPath, ["--fuzz=3"]);
163 unlink("${fullPath}.orig") if (! $changeLogDotOrigExisted);
165 unapplyPatch($patch, $fullPath);
173 unlink($fullPath) if (-e $fullPath);
174 system "svn", "revert", $fullPath;
177 rename($fullPath, "$fullPath.orig") if -e $fullPath;
179 unapplyPatch($patch, $fullPath);
182 my ($fh, $tempPath) = tempfile(basename($fullPath) . "-XXXXXXXX",
183 DIR => dirname($fullPath), UNLINK => 1);
187 rename($fullPath, $tempPath);
188 system "svn", "revert", $fullPath;
189 rename($tempPath, $fullPath);
194 system "touch", $fullPath;
196 # Remove $fullPath.orig if it is the same as $fullPath
197 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
200 system "svn", "stat", $fullPath;
207 unapplyPatch($patch, $fullPath, ["--force"]) if $patch;
208 unlink($fullPath) if -z $fullPath;
209 system "svn", "revert", $fullPath;
213 scmToggleExecutableBit($fullPath, -1 * $diffHashRef->{executableBitDelta}) if defined($diffHashRef->{executableBitDelta});
270 my $fullPath = shift;
273 sysopen(CHANGELOG, $fullPath, O_RDONLY) or die "Failed to open $fullPath: $!";
276 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;