Lines Matching refs:Checkout
37 from webkitpy.common.checkout.api import Checkout
38 from webkitpy.common.checkout.changelog import ChangeLogEntry
39 from webkitpy.common.checkout.scm import detect_scm_system, CommitMessage
55 Move commit_message_for_this_commit from scm to checkout
58 * Scripts/webkitpy/common/checkout/api.py: import scm.CommitMessage
64 Move commit_message_for_this_commit from scm to checkout
67 * Scripts/webkitpy/common/checkout/api.py:
90 Move commit_message_for_this_commit from scm to checkout
93 * Scripts/webkitpy/common/checkout/api.py: import scm.CommitMessage
117 checkout = Checkout(None)
118 checkout.modified_changelogs = lambda git_commit, changed_files=None: ["ChangeLog1", "ChangeLog2"]
121 commit_message = output.assert_outputs(self, checkout.commit_message_for_this_commit,
138 checkout = Checkout(scm)
139 entry = checkout._latest_entry_for_changelog_at_revision("foo", "bar")
149 checkout = Checkout(scm)
156 checkout._latest_entry_for_changelog_at_revision = mock_latest_entry_for_changelog_at_revision
159 entries = checkout.changelog_entries_for_revision(1)
166 checkout = Checkout(scm)
167 checkout.changelog_entries_for_revision = lambda revision: [ChangeLogEntry(_changelog1entry1)]
168 commitinfo = checkout.commit_info_for_revision(4)
177 checkout.changelog_entries_for_revision = lambda revision: []
178 self.assertEqual(checkout.commit_info_for_revision(1), None)
183 checkout = Checkout(scm)
184 checkout.changelog_entries_for_revision = lambda revision: [ChangeLogEntry(_changelog1entry1)]
185 self.assertEqual(checkout.bug_id_for_revision(4), 36629)
189 checkout = Checkout(scm)
190 checkout.commit_message_for_this_commit = lambda git_commit, changed_files=None: CommitMessage(ChangeLogEntry(_changelog1entry1).contents().splitlines())
191 self.assertEqual(checkout.bug_id_for_this_commit(git_commit=None), 36629)
197 checkout = Checkout(scm)
199 self.assertEqual(checkout.modified_changelogs(git_commit=None), expected_changlogs)
216 checkout = Checkout(scm)
217 checkout.changelog_entries_for_revision = mock_changelog_entries_for_revision
218 reviewers = checkout.suggested_reviewers(git_commit=None)