From 979ecc8d631c6f7a9581d984849504cdffc9cd5a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 23 Mar 2013 14:17:28 -0400 Subject: [PATCH] better formatting of output. --- scripts/rev_control/report_new_files.sh | 6 ++++-- scripts/rev_control/update_these.sh | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/rev_control/report_new_files.sh b/scripts/rev_control/report_new_files.sh index 3fa08025..84ac828a 100644 --- a/scripts/rev_control/report_new_files.sh +++ b/scripts/rev_control/report_new_files.sh @@ -13,12 +13,14 @@ pushd "$dir" for i in * ; do if [ -d "$i" ]; then - pushd $i + echo "[$i]" + pushd $i &>/dev/null # only update if we see a repository living there. if [ -d ".svn" ]; then bash $FEISTY_MEOW_SCRIPTS/rev_control/svnapply.sh \? echo fi - popd + popd &>/dev/null + echo "=======" fi done diff --git a/scripts/rev_control/update_these.sh b/scripts/rev_control/update_these.sh index cdd0119a..b0cc4b8a 100644 --- a/scripts/rev_control/update_these.sh +++ b/scripts/rev_control/update_these.sh @@ -9,11 +9,12 @@ if [ -z "$dir" ]; then dir=. fi -pushd "$dir" +pushd "$dir" &>/dev/null for i in * ; do if [ -d "$i" ]; then - pushd $i + echo "[$i]" + pushd $i &>/dev/null # only update if we see a repository living there. if [ -d ".svn" ]; then svn update . @@ -22,10 +23,11 @@ for i in * ; do elif [ -d "CVS" ]; then cvs update . fi - popd + popd &>/dev/null + echo "=======" fi done -popd +popd &>/dev/null -- 2.34.1