Changeset 51728 in webkit


Ignore:
Timestamp:
Dec 5, 2009 1:54:05 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2009-12-05 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

update-webkit should call git svn rebase and resolve-ChangeLogs -f
https://bugs.webkit.org/show_bug.cgi?id=27162

Teach update-webkit about Git. I didn't add the call to
resolve-ChangeLogs -f because sometimes that script goes bananas. We
can iterate from here, however.

  • Scripts/update-webkit:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r51715 r51728  
     12009-12-05  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        update-webkit should call git svn rebase and resolve-ChangeLogs -f
     6        https://bugs.webkit.org/show_bug.cgi?id=27162
     7
     8        Teach update-webkit about Git.  I didn't add the call to
     9        resolve-ChangeLogs -f because sometimes that script goes bananas.  We
     10        can iterate from here, however.
     11
     12        * Scripts/update-webkit:
     13
    1142009-12-04  Yael Aharon  <yael.aharon@nokia.com>
    215
  • trunk/WebKitTools/Scripts/update-webkit

    r50136 r51728  
    4040
    4141sub runSvnUpdate();
     42sub runGitUpdate();
    4243
    4344# Handle options
     
    4647
    4748determineIsChromium();
     49
     50my $isGit = isGit();
     51my $isSVN = isSVN();
    4852
    4953my $getOptionsResult = GetOptions(
     
    7074chdirWebKit();
    7175print "Updating OpenSource\n" unless $quiet;
    72 runSvnUpdate();
     76runSvnUpdate() if $isSVN;
     77runGitUpdate() if $isGit;
    7378
    7479if (-d "../Internal") {
    7580    chdir("../Internal");
    7681    print "Updating Internal\n" unless $quiet;
    77     runSvnUpdate();
     82    runSvnUpdate() if $isSVN;
     83    runGitUpdate() if $isGit;
    7884} elsif (isChromium()) {
    7985    system("perl", "WebKitTools/Scripts/update-webkit-chromium") == 0 or die $!;
     
    105111    }
    106112}
     113
     114sub runGitUpdate()
     115{
     116    system("git", "svn", "rebase") == 0 or die;
     117}
Note: See TracChangeset for help on using the changeset viewer.