Lines Matching refs:branch
9 # Requires a chromium checkout with branch heads:
92 cr_rev either refers to a chromium commit position or a chromium branch
165 self, git_hash, master_position, master_hash, branch, version,
169 # The cr commit position number on the branch.
171 # The git revision on the branch.
177 # The branch name.
178 "branch": branch,
197 def GetRelease(self, git_hash, branch):
222 git_hash, master_position, master_hash, branch, version,
225 def GetReleasesFromBranch(self, branch):
226 self.GitReset(self.vc.RemoteBranch(branch))
227 if branch == self.vc.MasterBranch():
240 release, patch_level = self.GetRelease(git_hash, branch)
246 # the parent of the branch head leads to the trunk branch.
247 if branch != self.vc.CandidateBranch() and patch_level == "0":
268 self.Git("branch -r --contains %s" % revision).strip().splitlines(),
270 branch = ""
273 branch = b.split("origin/")[1]
275 if b.startswith("branch-heads/"):
276 branch = b.split("branch-heads/")[1]
279 print "Could not determine branch for %s" % revision
281 release, _ = self.GetRelease(revision, branch)
296 if self._options.branch == 'recent':
301 elif self._options.branch == 'all': # pragma: no cover
303 for branch in self.vc.GetBranches():
304 releases += self.GetReleasesFromBranch(branch)
308 # Retrieve history for a specified branch.
309 assert self._options.branch in (self.vc.GetBranches() +
311 releases += self.GetReleasesFromBranch(self._options.branch)
324 "+refs/branch-heads/*:refs/remotes/branch-heads/*",
351 format="%H", grep="V8", branch="origin/master",
386 MESSAGE = "Retrieve Chromium branch information."
395 branches = filter(lambda r: re.match(r"branch-heads/\d+", r),
398 # Transform into pure branch numbers.
399 branches = map(lambda r: int(re.match(r"branch-heads/(\d+)", r).group(1)),
407 for branch in branches:
409 "refs/branch-heads/%d" % branch, "DEPS", cwd=cwd)
413 cr_branches.append([str(branch), v8_hsh])
523 ["version", "branch", "revision",
538 parser.add_argument("-b", "--branch", default="recent",
539 help=("The branch to analyze. If 'all' is specified, "