Changeset 19562 in webkit


Ignore:
Timestamp:
Feb 10, 2007 6:59:46 PM (17 years ago)
Author:
ddkilzer
Message:

WebKitTools:

Reviewed by Adam.

  • Scripts/svn-create-patch: (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate a relative path to the copied file.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r19561 r19562  
     12007-02-10  David Kilzer  <ddkilzer@webkit.org>
     2
     3        Reviewed by Adam.
     4
     5        * Scripts/svn-create-patch:
     6        (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
     7        a relative path to the copied file.
     8
    192007-02-10  Timothy Hatcher  <timothy@apple.com>
    210
     
    917        Reviewed by Timothy.
    1018
    11         * Scripts/svn-apply: Binary patches don't need a trailing newline after the base64
     19        * Scripts/svn-apply:
     20        (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
    1221        encoded text.
    1322
  • trunk/WebKitTools/Scripts/svn-create-patch

    r19256 r19562  
    155155    while (<INFO>) {
    156156        if (/^Copied From URL: (.+)/) {
    157             $sourceFile = substr($1, length($baseUrl) + 1);
     157            $sourceFile = File::Spec->abs2rel($1, $baseUrl);
    158158        } elsif (/^Copied From Rev: ([0-9]+)/) {
    159159            $sourceRevision = $1;
Note: See TracChangeset for help on using the changeset viewer.