Changeset 53404 in webkit


Ignore:
Timestamp:
Jan 18, 2010 6:05:03 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-18 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

webkit-patch land-safely should obsolete old patches
https://bugs.webkit.org/show_bug.cgi?id=33788

When posting a commit-queue+ patch with land-safely, we should
obsolete the old patches on the bug. They're really confusing
because the main use case is to address reviewer feedback on a
previous patch.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r53403 r53404  
     12010-01-18  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        webkit-patch land-safely should obsolete old patches
     6        https://bugs.webkit.org/show_bug.cgi?id=33788
     7
     8        When posting a commit-queue+ patch with land-safely, we should
     9        obsolete the old patches on the bug.  They're really confusing
     10        because the main use case is to address reviewer feedback on a
     11        previous patch.
     12
     13        * Scripts/webkitpy/commands/upload.py:
     14        * Scripts/webkitpy/commands/upload_unittest.py:
     15
    1162010-01-18  Adam Barth  <abarth@webkit.org>
    217
  • trunk/WebKitTools/Scripts/webkitpy/commands/upload.py

    r53134 r53404  
    135135    steps = [
    136136        steps.UpdateChangeLogsWithReviewer,
     137        steps.ObsoletePatches,
    137138        steps.PostDiffForCommit,
    138139    ]
  • trunk/WebKitTools/Scripts/webkitpy/commands/upload_unittest.py

    r53298 r53404  
    5858
    5959    def test_post(self):
    60         self.assert_execute_outputs(LandSafely(), [42])
     60        expected_stderr = "Obsoleting 2 old patches on bug 42\n"
     61        self.assert_execute_outputs(LandSafely(), [42], expected_stderr=expected_stderr)
    6162
    6263    def test_prepare_diff_with_arg(self):
Note: See TracChangeset for help on using the changeset viewer.