# HG changeset patch # User Augie Fackler # Date 1231177589 21600 # Node ID a5691a22c92bd74c2d35fd4c3d4a5792270c5687 # Parent 43e751bdedeb59d801a65e51d9fd78dfead2fab9 Fix a bug in update_source_trees where it could eat any existing dirstack entries if there were any non-directories in the working directory. diff --git a/.zsh/50.vcs_functions.zsh b/.zsh/50.vcs_functions.zsh --- a/.zsh/50.vcs_functions.zsh +++ b/.zsh/50.vcs_functions.zsh @@ -40,7 +40,7 @@ function clean_svn_source_trees() { # "known" means ones I'm forced to use on a regular basis function update_source_trees() { for aa in */ ; do - pushd $aa > /dev/null + pushd $aa > /dev/null || continue if [ -e .svn ] ; then echo $aa 'is an svn checkout, updating' svn up