Home
last modified time | relevance | path

Searched refs:git_commit (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dapi.py103 def _modified_files_matching_predicate(self, git_commit, predicate, changed_files=None): argument
108 changed_files = self._scm.changed_files(git_commit)
112 def modified_changelogs(self, git_commit, changed_files=None): argument
113 …return self._modified_files_matching_predicate(git_commit, self.is_path_to_changelog, changed_file…
115 def modified_non_changelogs(self, git_commit, changed_files=None): argument
116 …return self._modified_files_matching_predicate(git_commit, lambda path: not self.is_path_to_change…
118 def commit_message_for_this_commit(self, git_commit, changed_files=None): argument
119 changelog_paths = self.modified_changelogs(git_commit, changed_files)
139 def suggested_reviewers(self, git_commit, changed_files=None): argument
140 changed_files = self.modified_non_changelogs(git_commit, changed_files)
[all …]
Dscm.py253 def changed_files(self, git_commit=None): argument
271 def create_patch(self, git_commit=None, changed_files=None): argument
295 …def commit_with_message(self, message, username=None, password=None, git_commit=None, force_squash… argument
445 def changed_files(self, git_commit=None): argument
485 def create_patch(self, git_commit=None, changed_files=None): argument
563 …def commit_with_message(self, message, username=None, password=None, git_commit=None, force_squash… argument
707 def merge_base(self, git_commit): argument
708 if git_commit:
710 if git_commit.upper() == 'HEAD..':
713 if '..' not in git_commit:
[all …]
Dapi_unittest.py118 … checkout.modified_changelogs = lambda git_commit, changed_files=None: ["ChangeLog1", "ChangeLog2"]
190 …checkout.commit_message_for_this_commit = lambda git_commit, changed_files=None: CommitMessage(Cha…
191 self.assertEqual(checkout.bug_id_for_this_commit(git_commit=None), 36629)
196 scm.changed_files = lambda git_commit: ["file1", "ChangeLog", "relative/path/ChangeLog"]
199 self.assertEqual(checkout.modified_changelogs(git_commit=None), expected_changlogs)
214 scm.changed_files = lambda git_commit: ["file1", "file2", "relative/path/ChangeLog"]
218 reviewers = checkout.suggested_reviewers(git_commit=None)
Dscm_unittest.py1024 commit_text = scm.commit_with_message("another test commit", git_commit="HEAD^")
1035 commit_text = scm.commit_with_message("another test commit", git_commit="HEAD~2..HEAD")
1046 commit_text = scm.commit_with_message("another test commit", git_commit="HEAD..")
1074 … self.assertRaises(ScriptError, scm.commit_with_message, "another test commit", git_commit="HEAD^")
1175 patch = scm.create_patch(git_commit="HEAD^")
1182 patch = scm.create_patch(git_commit="HEAD~2..HEAD")
1190 patch = scm.create_patch(git_commit="HEAD..")
1246 files = scm.changed_files(git_commit="HEAD^")
1253 files = scm.changed_files(git_commit="HEAD~2..HEAD")
1261 files = scm.changed_files(git_commit="HEAD..")
/external/webkit/Tools/Scripts/webkitpy/style/
Doptparser_unittest.py44 git_commit=None): argument
46 git_commit=git_commit,
148 self.assertEquals(options.git_commit, None)
163 self.assertEquals(options.git_commit, 'commit')
165 self.assertEquals(options.git_commit, 'commit')
167 self.assertEquals(options.git_commit, 'commit')
203 self.assertEquals(options.git_commit, None)
219 git_commit="commit",
224 self.assertEquals(options.git_commit, "commit")
239 git_commit=None,
[all …]
Doptparser.py147 git_commit=None, argument
166 self.git_commit = git_commit
177 if self.git_commit != other.git_commit:
219 if options.git_commit:
220 flags['git-commit'] = options.git_commit
420 git_commit = options.git_commit
450 git_commit=git_commit,
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
Dabstractstep.py44 … "changed_files": lambda self, state: self._tool.scm().changed_files(self._options.git_commit),
45 …"diff": lambda self, state: self._tool.scm().create_patch(self._options.git_commit, changed_files=…
47 …a self, state: self._tool.checkout().modified_changelogs(self._options.git_commit, changed_files=s…
67 Options.git_commit,
Dcheckstyle.py42 Options.git_commit,
51 if self._options.git_commit:
53 args.append(self._options.git_commit)
Dcommit.py46 …_message = self._tool.checkout().commit_message_for_this_commit(self._options.git_commit).message()
62 …ommit_text = scm.commit_with_message(self._commit_message, git_commit=self._options.git_commit, us…
Dsuggestreviewers.py37 Options.git_commit,
45 …reviewers = self._tool.checkout().suggested_reviewers(self._options.git_commit, self._changed_file…
Dpreparechangelog.py44 Options.git_commit,
72 args.append("--merge-base=%s" % self._tool.scm().merge_base(self._options.git_commit))
Dpreparechangelogfordepsroll.py38 changelog_paths = self._tool.checkout().modified_changelogs(git_commit=None)
Dapplypatchwithlocalcommit.py42 commit_message = self._tool.checkout().commit_message_for_this_commit(git_commit=None)
Dsuggestreviewers_unittest.py43 step = SuggestReviewers(MockTool(), MockOptions(suggest_reviewers=True, git_commit=None))
Dupdatechangelogswithreview_unittest.py46 options.git_commit = 'MOCK git commit'
Dpreparechangelogforrevert.py54 changelog_paths = self._tool.checkout().modified_changelogs(git_commit=None)
Dvalidatechangelogs_unittest.py42 … step = ValidateChangeLogs(tool, MockOptions(git_commit=None, non_interactive=non_interactive))
Dupdatechangelogswithreviewer.py41 Options.git_commit,
Doptions.py47git_commit = make_option("-g", "--git-commit", action="store", dest="git_commit", help="Operate on… variable in Options
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
Dupload.py56 steps.Options.git_commit,
63 print "%s" % tool.checkout().commit_message_for_this_commit(options.git_commit).message()
196 changed_files = self._tool.scm().changed_files(options.git_commit)
198 bug_id = tool.checkout().bug_id_for_this_commit(options.git_commit, changed_files)
329 …it_message.message()) or parse_bug_id_from_changelog(tool.scm().create_patch(git_commit=commit_id))
339 diff = tool.scm().create_patch(git_commit=commit_id)
458 diff = tool.scm().create_patch(git_commit=commit_id)
473 commit_message = tool.checkout().commit_message_for_this_commit(options.git_commit)
477 diff = tool.scm().create_patch(options.git_commit)
Dcommandtest.py41 options.git_commit = 'MOCK git commit'
Ddownload.py109 changed_files = self._tool.scm().changed_files(options.git_commit)
112 …": (args and args[0]) or tool.checkout().bug_id_for_this_commit(options.git_commit, changed_files),
/external/webkit/Tools/Scripts/webkitpy/
Dstyle_references.py72 def create_patch(self, git_commit, changed_files=None): argument
73 return self._scm.create_patch(git_commit, changed_files=changed_files)
/external/webkit/Tools/Scripts/webkitpy/tool/
Dmocktool.py475 def changed_files(self, git_commit=None): argument
478 def create_patch(self, git_commit, changed_files=None): argument
544 def modified_changelogs(self, git_commit, changed_files=None): argument
549 def commit_message_for_this_commit(self, git_commit, changed_files=None): argument
563 def suggested_reviewers(self, git_commit, changed_files=None): argument
/external/webkit/Tools/Scripts/
Dcheck-webkit-style119 patch = checkout.create_patch(options.git_commit, changed_files=changed_files)

12