From: Chris Koeritz Date: Sat, 23 Mar 2013 18:17:28 +0000 (-0400) Subject: better formatting of output. X-Git-Tag: 2.140.90~1043 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=979ecc8d631c6f7a9581d984849504cdffc9cd5a;p=feisty_meow.git better formatting of output. --- 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