diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-01-09 22:20:46 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-10 15:00:30 +0100 |
commit | 8f04e3501a2f18a32fab52f3647a634286e47976 (patch) | |
tree | 270897472f3b336ee599f0e3b68900717fa7cfa4 | |
parent | 343e9b51ec5cc556f420df4f940977e597e675de (diff) |
Remove obsolete fix-webkit script
Change-Id: I56aae1a6f311f92bda69ab7ad105b708a74d6613
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r-- | fix-webkit | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/fix-webkit b/fix-webkit deleted file mode 100644 index 813b203e..00000000 --- a/fix-webkit +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/perl - -use Cwd; -use Cwd 'abs_path'; -use File::Basename; -use File::Path; - - -# Find SHA1 of commit before $subject, else empty string -sub findWebKitSHA1 -{ - my ($subject) = @_; - my @commits = `git rev-list --grep="$subject" HEAD~300..HEAD`; - if (@commits) { - my $commit = $commits[0]; - chomp $commit; - $commit = `git rev-parse $commit~`; - chomp $commit; - return $commit; - } - return ""; -} - -my $current = dirname(abs_path($0)); -$current =~ s,\\,/,g; -chdir("$current/qtwebkit"); - -if (!findWebKitSHA1("Removed modular references after support for the flag was removed")) { - if (system("git am --ignore-whitespace $current/patches/qtwebkit/*.patch")) { - print("Applying webkit patches failed, retrying...\n"); - system("git am --abort"); - system("git am --ignore-whitespace $current/patches/qtwebkit/*.patch") and die("Could not apply patches"); - } - chdir(".."); - system("git commit -a -m \"Committed Qt Modularization patches to QtWebKit.\" --author \"axis <qt-info\@nokia.com>\"") and die("Could not commit to qt5 repository"); -} |