Changeset 64153 in webkit


Ignore:
Timestamp:
Jul 27, 2010 1:23:47 PM (14 years ago)
Author:
ojan@chromium.org
Message:

2010-07-27 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

webkit-patch post-commits is broken: AttributeError: Values instance has no attribute 'no_squash'
https://bugs.webkit.org/show_bug.cgi?id=42984

squash and no_squash have been intentionally erroring for a couple weeks now.
But post-commits was just broken. Just remove squash/no_squash.

  • Scripts/webkitpy/tool/steps/abstractstep.py:
  • Scripts/webkitpy/tool/steps/options.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r64150 r64153  
     12010-07-27  Ojan Vafai  <ojan@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        webkit-patch post-commits is broken: AttributeError: Values instance has no attribute 'no_squash'
     6        https://bugs.webkit.org/show_bug.cgi?id=42984
     7
     8        squash and no_squash have been intentionally erroring for a couple weeks now.
     9        But post-commits was just broken. Just remove squash/no_squash.
     10
     11        * Scripts/webkitpy/tool/steps/abstractstep.py:
     12        * Scripts/webkitpy/tool/steps/options.py:
     13
    1142010-07-27  Kevin Ollivier  <kevino@theolliviers.com>
    215
  • trunk/WebKitTools/Scripts/webkitpy/tool/steps/abstractstep.py

    r63004 r64153  
    3636    def __init__(self, tool, options):
    3737        self._tool = tool
    38         if options.no_squash:
    39             raise ScriptError('--no-squash has been removed. Use "--git-commit=HEAD.." or "-g HEAD.." to operate on the working copy.')
    40         if options.squash:
    41             raise ScriptError('--squash has been removed. It is now the default behavior if --git-commit is omitted.')
    4238        self._options = options
    4339        self._port = None
     
    7773            # We need this option here because cached_lookup uses it.  :(
    7874            Options.git_commit,
    79             # FIXME: Get rid of these.
    80             Options.no_squash,
    81             Options.squash,
    8275        ]
    8376
  • trunk/WebKitTools/Scripts/webkitpy/tool/steps/options.py

    r63004 r64153  
    4747    local_commit = make_option("--local-commit", action="store_true", dest="local_commit", default=False, help="Make a local commit for each applied patch")
    4848    non_interactive = make_option("--non-interactive", action="store_true", dest="non_interactive", default=False, help="Never prompt the user, fail as fast as possible.")
    49     # FIXME: Remove --no-squash, once people have adjusted to using --git-commit.
    50     no_squash = make_option("--no-squash", action="store_true", dest="no_squash", default=False, help="Obsolete. Use --git-commit=HEAD.. instead.")
    5149    obsolete_patches = make_option("--no-obsolete", action="store_false", dest="obsolete_patches", default=True, help="Do not obsolete old patches before posting this one.")
    5250    open_bug = make_option("--open-bug", action="store_true", dest="open_bug", default=False, help="Opens the associated bug in a browser.")
     
    5755    review = make_option("--no-review", action="store_false", dest="review", default=True, help="Do not mark the patch for review.")
    5856    reviewer = make_option("-r", "--reviewer", action="store", type="string", dest="reviewer", help="Update ChangeLogs to say Reviewed by REVIEWER.")
    59     # FIXME: Remove --squash, once people have adjusted to using --git-commit.
    60     squash = make_option("-s", "--squash", action="store_true", dest="squash", default=False, help="Obsolete. This is now the default behavior.")
    6157    test = make_option("--test", action="store_true", dest="test", default=False, help="Run run-webkit-tests before committing.")
    6258    update = make_option("--no-update", action="store_false", dest="update", default=True, help="Don't update the working directory.")
Note: See TracChangeset for help on using the changeset viewer.