[webkit-changes] [WebKit/WebKit] 05a774: Remove dead code in webkitpy/common/checkout/scm

Sam Sneddon noreply at github.com
Mon Jan 29 13:26:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05a7740784d62d37f9139e052945f809ea78b305
      https://github.com/WebKit/WebKit/commit/05a7740784d62d37f9139e052945f809ea78b305
  Author: Sam Sneddon <gsnedders at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M Tools/Scripts/webkitpy/common/checkout/scm/git.py
    M Tools/Scripts/webkitpy/common/checkout/scm/scm.py
    M Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
    M Tools/Scripts/webkitpy/common/checkout/scm/svn.py

  Log Message:
  -----------
  Remove dead code in webkitpy/common/checkout/scm
https://bugs.webkit.org/show_bug.cgi?id=268165

Reviewed by Jonathan Bedard.

Largely from vulture.

* Tools/Scripts/webkitpy/common/checkout/scm/git.py:
(Git.find_checkout_root):
(Git.merge_base):
(Git._most_recent_log_matching):
(Git.svn_branch):
(Git.timestamp_of_native_revision):
(Git.contents_at_revision):
(Git.diff_for_file):
(Git._commit_on_branch):
(Git.last_svn_commit_log):
(Git.remote_branch_ref):
(Git.commit_message_for_local_commit):
(Git.to_object_name): Deleted.
(Git.modifications_staged_for_commit): Deleted.
(Git._most_recent_log_for_revision): Deleted.
(Git.svn_url): Deleted.
(Git.svn_repository_url): Deleted.
(Git.prepend_svn_revision): Deleted.
(Git.diff_for_revision): Deleted.
(Git.show_head): Deleted.
(Git.svn_blame): Deleted.
(Git.origin_url): Deleted.
(Git.init_submodules): Deleted.
(Git.submodules_status): Deleted.
(Git.deinit_submodules): Deleted.
(Git.cherrypick_merge): Deleted.
(Git.files_changed_summary_for_commit): Deleted.
* Tools/Scripts/webkitpy/common/checkout/scm/scm.py:
(SCM.display_name):
(SCM.contents_at_revision):
(SCM.diff_for_file):
(SCM.last_svn_commit_log):
(SCM.commit_locally_with_message):
(SCM.head_svn_revision): Deleted.
(SCM.diff_for_revision): Deleted.
(SCM.show_head): Deleted.
(SCM.svn_blame): Deleted.
(SCM.local_changes_exist): Deleted.
* Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
(SCMTest._shared_test_reverse_diff):
(SCMTest._shared_test_exists):
(test_reverse_diff):
(test_delete_recursively_or_not):
(test_native_revision):
(test_native_branch):
(GitTest.test_exists):
(GitSVNTest.test_delete_recursively_or_not):
(GitSVNTest.test_native_branch):
(SCMTest._shared_test_diff_for_revision): Deleted.
(SCMTest._shared_test_head_svn_revision): Deleted.
(test_diff_for_revision): Deleted.
(test_head_svn_revision): Deleted.
(test_propset_propget): Deleted.
(test_show_head): Deleted.
(test_show_head_binary): Deleted.
(GitTest.test_head_svn_revision): Deleted.
(GitSVNTest.test_head_svn_revision): Deleted.
(GitSVNTest.test_to_object_name): Deleted.
(GitSVNTest.test_show_head): Deleted.
(GitSVNTest.test_show_head_binary): Deleted.
* Tools/Scripts/webkitpy/common/checkout/scm/svn.py:
(SVN.find_checkout_root):
(SVN.contents_at_revision):
(SVN.diff_for_file):
(SVN.last_svn_commit_log):
(SVN.diff_for_revision): Deleted.
(SVN.show_head): Deleted.
(SVN.svn_blame): Deleted.
(SVN.propset): Deleted.
(SVN.propget): Deleted.

Canonical link: https://commits.webkit.org/273684@main




More information about the webkit-changes mailing list