bb49bc7240a3

Merge in the change because I forgot to pull.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 16 Jul 2009 03:11:08 -0400
parents 343e70cc44f9 (current diff) 4a595961551e (diff)
children 8a98384e2659
branches/tags (none)
files .bashrc

Changes

--- a/.bashrc	Thu Jul 16 02:17:13 2009 -0400
+++ b/.bashrc	Thu Jul 16 03:11:08 2009 -0400
@@ -27,6 +27,15 @@
 source ~/lib/hg/bash_completion
 source ~/lib/virtualenvwrapper_bashrc
 
+# Useful functions -----------------------------------------------------------
+
+pull_everything() {
+    for repo in $( ls -1 ); do
+        [ -d $repo ] && [ -d $repo/.hg ] && hg -R $repo pull
+        echo
+    done
+}
+
 # Prompt stuff ---------------------------------------------------------------
 
 D=$'\e[37;40m'