Changeset 57447 in webkit


Ignore:
Timestamp:
Apr 11, 2010 12:46:17 AM (14 years ago)
Author:
Joseph Pecoraro
Message:

2010-04-11 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Mark Rowe.

Make commit-log-editor Rubber-stamp aware. And other minor cleanups.
https://bugs.webkit.org/show_bug.cgi?id=37407

  • Scripts/commit-log-editor:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57446 r57447  
     12010-04-11  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Reviewed by Mark Rowe.
     4
     5        Make commit-log-editor Rubber-stamp aware. And other minor cleanups.
     6        https://bugs.webkit.org/show_bug.cgi?id=37407
     7
     8        * Scripts/commit-log-editor:
     9
    1102010-04-11  Eric Seidel  <eric@webkit.org>
    211
  • trunk/WebKitTools/Scripts/commit-log-editor

    r56593 r57447  
    11#!/usr/bin/perl -w
    22
    3 # Copyright (C) 2006, 2007, 2008, 2009 Apple Inc.  All rights reserved.
     3# Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc.  All rights reserved.
    44# Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
    55#
     
    8989my $logContents = "";
    9090my $existingLog = 0;
    91 open LOG, $log or die;
     91open LOG, $log or die "Could not open the log file.";
    9292while (<LOG>) {
    9393    if (isGit()) {
     
    156156            $line =~ s/^ {8}//;
    157157
    158             # Save the reviewed by line
    159             if ($line =~ m/^Reviewed by .*/) {
     158            # Save the reviewed / rubber stamped by line.
     159            if ($line =~ m/^Reviewed by .*/ || $line =~ m/^Rubber[ \-]?stamped by .*/) {
    160160                $reviewedByLine = $line;
    161161                next;
     
    189189            }
    190190
    191 
    192191            $lineCount++;
    193192            $contents .= $line;
     
    209208    if ($label eq "top level") {
    210209        $sortKey = "";
    211     } elsif ($label eq "Tools") {
    212         $sortKey = "-, just after top level";
    213     } elsif ($label eq "WebBrowser") {
    214         $sortKey = lc "WebKit, WebBrowser after";
    215     } elsif ($label eq "WebCore") {
    216         $sortKey = lc "WebFoundation, WebCore after";
    217210    } elsif ($label eq "LayoutTests") {
    218211        $sortKey = lc "~, LayoutTests last";
Note: See TracChangeset for help on using the changeset viewer.