From 965983e68d9921b19c65da3b40db42742afda596 Mon Sep 17 00:00:00 2001 From: David James Date: Fri, 13 May 2011 15:06:11 -0700 Subject: [PATCH] Update cros_workon to use repo list instead of repo forall. repo list is a little faster and is more idiomatic. BUG=chromium-os:5932, chromium-os:6126 TEST=Make sure cros_workon info --all and cros_workon info kernel still work Change-Id: I61dfdc8a00669e88b90298f7c990a497b61c174a Reviewed-on: http://gerrit.chromium.org/gerrit/877 Reviewed-by: Zdenek Behan Tested-by: David James --- cros_workon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cros_workon b/cros_workon index 43064e8741..9374162001 100755 --- a/cros_workon +++ b/cros_workon @@ -131,7 +131,7 @@ show_project_ebuild_map() { show_project_path_map() { # Column 1: Repo name # Column 2: Source directory - repo forall -c 'echo $REPO_PROJECT $REPO_PATH' + repo list | awk -F ' : ' '{ print $2, $1 }' } show_workon_ebuilds() {