# HG changeset patch # User Steve Losh # Date 1247728268 14400 # Node ID bb49bc7240a32f515437d99d6f2cae591fde7f47 # Parent 343e70cc44f916658b9e0cc575917893960288d7# Parent 4a595961551e2c949220efc5bf4259f3c392201d Merge in the change because I forgot to pull. diff -r 343e70cc44f9 -r bb49bc7240a3 .bashrc --- 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'