Changeset 52600 in webkit


Ignore:
Timestamp:
Dec 28, 2009 9:35:14 AM (14 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by Eric Seidel.

[bzt] Add an edit-changelog command
https://bugs.webkit.org/show_bug.cgi?id=32986

This command makes it easier to edit ChangeLogs. It's similar to
prepare-ChangeLog -o, except it works with already existing ChangeLogs.

  • Scripts/modules/commands/upload.py:
  • Scripts/modules/commands/upload_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52599 r52600  
     12009-12-28  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [bzt] Add an edit-changelog command
     6        https://bugs.webkit.org/show_bug.cgi?id=32986
     7
     8        This command makes it easier to edit ChangeLogs.  It's similar to
     9        prepare-ChangeLog -o, except it works with already existing ChangeLogs.
     10
     11        * Scripts/modules/commands/upload.py:
     12        * Scripts/modules/commands/upload_unittest.py:
     13
    1142009-12-28  Adam Barth  <abarth@webkit.org>
    215
  • trunk/WebKitTools/Scripts/modules/commands/upload.py

    r52599 r52600  
    125125
    126126
     127class EditChangeLog(AbstractSequencedCommmand):
     128    name = "edit-changelog"
     129    help_text = "Opens modified ChangeLogs in $EDITOR"
     130    steps = [
     131        EditChangeLogStep,
     132    ]
     133
     134
    127135class PostCommits(Command):
    128136    name = "post-commits"
  • trunk/WebKitTools/Scripts/modules/commands/upload_unittest.py

    r52599 r52600  
    5050        expected_stderr = "Obsoleting 2 old patches on bug 42\n"
    5151        self.assert_execute_outputs(CreateReview(), [42], expected_stderr=expected_stderr)
     52
     53    def test_edit_changelog(self):
     54        self.assert_execute_outputs(EditChangeLog(), [])
Note: See TracChangeset for help on using the changeset viewer.