Commit e0b91539 authored by wkorman's avatar wkorman Committed by Commit bot

Remove layout_tests_mover.py and obsolete local commit param.

BUG=593910

Review URL: https://codereview.chromium.org/1809283002

Cr-Commit-Position: refs/heads/master@{#381858}
parent 52375522
......@@ -265,10 +265,8 @@ class Git(SCM):
raise ScriptError(message="Can't find a branch to diff against. %s does not exist" % remote_master_ref)
return remote_master_ref
def commit_locally_with_message(self, message, commit_all_working_directory_changes=True):
command = ['commit', '-F', '-']
if commit_all_working_directory_changes:
command.insert(1, '--all')
def commit_locally_with_message(self, message):
command = ['commit', '--all', '-F', '-']
self._run_git(command, input=message)
# These methods are git specific and are meant to provide support for the Git oriented workflow
......
......@@ -136,6 +136,6 @@ class SCM:
def supports_local_commits():
SCM._subclass_must_implement()
def commit_locally_with_message(self, message, commit_all_working_directory_changes=True):
def commit_locally_with_message(self, message):
_log.error("Your source control manager does not support local commits.")
sys.exit(1)
......@@ -92,8 +92,8 @@ class MockSCM(object):
def timestamp_of_revision(self, path, revision):
return '2013-02-01 08:48:05 +0000'
def commit_locally_with_message(self, message, commit_all_working_directory_changes=True):
self._local_commits.append([message, commit_all_working_directory_changes])
def commit_locally_with_message(self, message):
self._local_commits.append([message])
pass
def local_commits(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment