Index: Tools/Scripts/VCSUtils.pm |
diff --git a/Tools/Scripts/VCSUtils.pm b/Tools/Scripts/VCSUtils.pm |
index cf87db33e16a9ca2b5dc050f53ae42773de8eef8..dcf0a32fc043dcd37c153035fbbd56debf6f3c54 100644 |
--- a/Tools/Scripts/VCSUtils.pm |
+++ b/Tools/Scripts/VCSUtils.pm |
@@ -8,13 +8,13 @@ |
# are met: |
# |
# 1. Redistributions of source code must retain the above copyright |
-# notice, this list of conditions and the following disclaimer. |
+# notice, this list of conditions and the following disclaimer. |
# 2. Redistributions in binary form must reproduce the above copyright |
# notice, this list of conditions and the following disclaimer in the |
-# documentation and/or other materials provided with the distribution. |
+# documentation and/or other materials provided with the distribution. |
# 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of |
# its contributors may be used to endorse or promote products derived |
-# from this software without specific prior written permission. |
+# from this software without specific prior written permission. |
# |
# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
@@ -456,16 +456,16 @@ sub possiblyColored($$) |
} |
} |
-sub adjustPathForRecentRenamings($) |
-{ |
- my ($fullPath) = @_; |
- |
+sub adjustPathForRecentRenamings($) |
+{ |
+ my ($fullPath) = @_; |
+ |
$fullPath =~ s|WebCore/webaudio|WebCore/Modules/webaudio|g; |
$fullPath =~ s|JavaScriptCore/wtf|WTF/wtf|g; |
$fullPath =~ s|test_expectations.txt|TestExpectations|g; |
- return $fullPath; |
-} |
+ return $fullPath; |
+} |
sub canonicalizePath($) |
{ |
@@ -1177,7 +1177,7 @@ sub parseSvnDiffProperties($$) |
if ($propertyHashRef->{name} eq "svn:executable") { |
# Notice, for SVN properties, propertyChangeDelta is always non-zero |
# because a property can only be added or removed. |
- $footer{executableBitDelta} = $propertyHashRef->{propertyChangeDelta}; |
+ $footer{executableBitDelta} = $propertyHashRef->{propertyChangeDelta}; |
} |
} |
@@ -1516,7 +1516,7 @@ sub setChangeLogDateAndReviewer($$$) |
# Returns $changeLogHashRef: |
# $changeLogHashRef: a hash reference representing a change log patch. |
# patch: a ChangeLog patch equivalent to the given one, but with the |
-# newest ChangeLog entry inserted at the top of the file, if possible. |
+# newest ChangeLog entry inserted at the top of the file, if possible. |
sub fixChangeLogPatch($) |
{ |
my $patch = shift; # $patch will only contain patch fragments for ChangeLog. |
@@ -1660,10 +1660,10 @@ sub generatePatchCommand($) |
shouldReverse => 0, |
options => [] |
}; |
- |
+ |
# Merges hash references. It's okay here if passed hash reference is undefined. |
@{$argsHashRef}{keys %{$passedArgsHashRef}} = values %{$passedArgsHashRef}; |
- |
+ |
my $ensureForce = $argsHashRef->{ensureForce}; |
my $shouldReverse = $argsHashRef->{shouldReverse}; |
my $options = $argsHashRef->{options}; |
@@ -1989,8 +1989,8 @@ sub decodeGitBinaryPatch($$) |
sub readByte($$) |
{ |
my ($data, $location) = @_; |
- |
- # Return the byte at $location in $data as a numeric value. |
+ |
+ # Return the byte at $location in $data as a numeric value. |
return ord(substr($data, $location, 1)); |
} |
@@ -2002,7 +2002,7 @@ sub readByte($$) |
sub decodeGitBinaryPatchDeltaSize($) |
{ |
my ($binaryChunk) = @_; |
- |
+ |
# Source and destination buffer sizes are stored in 7-bit chunks at the |
# start of the binary delta patch data. The highest bit in each byte |
# except the last is set; the remaining 7 bits provide the next |
@@ -2024,7 +2024,7 @@ sub decodeGitBinaryPatchDeltaSize($) |
sub applyGitBinaryPatchDelta($$) |
{ |
my ($binaryChunk, $originalContents) = @_; |
- |
+ |
# Git delta format consists of two headers indicating source buffer size |
# and result size, then a series of commands. Each command is either |
# a copy-from-old-version (the 0x80 bit is set) or a copy-from-delta |