Changeset 172960 in webkit


Ignore:
Timestamp:
Aug 26, 2014 9:30:23 AM (10 years ago)
Author:
mitz@apple.com
Message:

runSvnUpdateAndResolveChangeLogs() doesn’t work when invoked from a script outside Tools/Scripts
https://bugs.webkit.org/show_bug.cgi?id=136254

Reviewed by Tim Horton.

  • Scripts/webkitdirs.pm:

(runSvnUpdateAndResolveChangeLogs): Locate resolve-ChangeLogs relative to the source tree,
not the invoking script.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r172956 r172960  
     12014-08-26  Dan Bernstein  <mitz@apple.com>
     2
     3        runSvnUpdateAndResolveChangeLogs() doesn’t work when invoked from a script outside Tools/Scripts
     4        https://bugs.webkit.org/show_bug.cgi?id=136254
     5
     6        Reviewed by Tim Horton.
     7
     8        * Scripts/webkitdirs.pm:
     9        (runSvnUpdateAndResolveChangeLogs): Locate resolve-ChangeLogs relative to the source tree,
     10        not the invoking script.
     11
    1122014-08-26  Krzysztof Czech  <k.czech@samsung.com>
    213
  • trunk/Tools/Scripts/webkitdirs.pm

    r172894 r172960  
    25382538    if (@conflictedChangeLogs) {
    25392539        print "Attempting to merge conflicted ChangeLogs.\n";
    2540         my $resolveChangeLogsPath = File::Spec->catfile(dirname($0), "resolve-ChangeLogs");
     2540        my $resolveChangeLogsPath = File::Spec->catfile(sourceDir(), "Tools", "Scripts", "resolve-ChangeLogs");
    25412541        (system($resolveChangeLogsPath, "--no-warnings", @conflictedChangeLogs) == 0)
    25422542            or die "Could not open resolve-ChangeLogs script: $!.\n";
Note: See TracChangeset for help on using the changeset viewer.