f72298ecd440

Make the output of pull_everything prettier.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 08 Aug 2009 10:05:48 -0400
parents c051bec803d4
children 6729c47b42d3
branches/tags (none)
files .bashrc

Changes

--- a/.bashrc	Sat Aug 08 09:32:51 2009 -0400
+++ b/.bashrc	Sat Aug 08 10:05:48 2009 -0400
@@ -32,8 +32,11 @@
 
 pull_everything() {
     for repo in $( ls -1 ); do
-        [ -d $repo ] && [ -d $repo/.hg ] && hg -R $repo pull -u
-        echo
+        if [[ -d $repo && -d $repo/.hg ]]; then
+            echo "Pulling" $repo
+            hg -R $repo pull -u
+            echo
+        fi
     done
 }