Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: build/tree_truth.sh

Issue 714173002: Print project path in build/tree_truth.sh (fix typo) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Script for printing recent commits in a buildbot run. 6 # Script for printing recent commits in a buildbot run.
7 7
8 # Return the sha1 of the given tag. If not present, return "". 8 # Return the sha1 of the given tag. If not present, return "".
9 # $1: path to repo 9 # $1: path to repo
10 # $2: tag name 10 # $2: tag name
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 for project in $@; do 80 for project in $@; do
81 local full_path=$CHROME_SRC/../$project 81 local full_path=$CHROME_SRC/../$project
82 tt_list_commits $full_path tree_truth $project 82 tt_list_commits $full_path tree_truth $project
83 tt_tag_head $full_path tree_truth 83 tt_tag_head $full_path tree_truth
84 done 84 done
85 } 85 }
86 86
87 # Print a summary of the last 10 commits for each repo. 87 # Print a summary of the last 10 commits for each repo.
88 tt_brief_summary() { 88 tt_brief_summary() {
89 echo "@@@BUILD_STEP Brief summary of recent CLs in every branch@@@" 89 echo "@@@BUILD_STEP Brief summary of recent CLs in every branch@@@"
90 for p in $@; do 90 for project in $@; do
91 echo $project 91 echo $project:
92 (cd $CHROME_SRC/../$p && git log -n 10 --format=" %H %s %an, %ad" | cat) 92 local full_path=$CHROME_SRC/../$project
93 (cd $full_path && git log -n 10 --format=" %H %s %an, %ad" | cat)
93 echo "=================================================================" 94 echo "================================================================="
94 done 95 done
95 } 96 }
96 97
97 CHROME_SRC=$1 98 CHROME_SRC=$1
98 shift 99 shift
99 PROJECT_LIST=$@ 100 PROJECT_LIST=$@
100 tt_brief_summary $PROJECT_LIST 101 tt_brief_summary $PROJECT_LIST
101 tt_print_all $PROJECT_LIST 102 tt_print_all $PROJECT_LIST
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698