Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py

Issue 1809723002: Remove optional --commit-author argument from auto-rebaseline script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2009, Google Inc. All rights reserved. 1 # Copyright (c) 2009, Google Inc. All rights reserved.
2 # Copyright (c) 2009 Apple Inc. All rights reserved. 2 # Copyright (c) 2009 Apple Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 def has_working_directory_changes(self): 129 def has_working_directory_changes(self):
130 self._subclass_must_implement() 130 self._subclass_must_implement()
131 131
132 #-------------------------------------------------------------------------- 132 #--------------------------------------------------------------------------
133 # Subclasses must indicate if they support local commits, 133 # Subclasses must indicate if they support local commits,
134 # but the SCM baseclass will only call local_commits methods when this is tr ue. 134 # but the SCM baseclass will only call local_commits methods when this is tr ue.
135 @staticmethod 135 @staticmethod
136 def supports_local_commits(): 136 def supports_local_commits():
137 SCM._subclass_must_implement() 137 SCM._subclass_must_implement()
138 138
139 def commit_locally_with_message(self, message, commit_all_working_directory_ changes=True, author=None): 139 def commit_locally_with_message(self, message, commit_all_working_directory_ changes=True):
140 _log.error("Your source control manager does not support local commits." ) 140 _log.error("Your source control manager does not support local commits." )
141 sys.exit(1) 141 sys.exit(1)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698