# HG changeset patch # User Augie Fackler # Date 1231732192 21600 # Node ID 7e926904885652f2be2c7819008a773f407b042a # Parent 1c70c9393f45db0f3597819ea09fcfdc08b1e96a Fix update_source_trees to also pull versioned mq if it exists. 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 @@ -60,6 +60,10 @@ function update_source_trees() { git gc elif [ -e .hg ] ; then echo $aa 'is an hg checkout, updating' && hg pull && hg up + if [ -e .hg/patches/.hg ] ; then + echo $aa 'has an mq, updating that too...' + hg -R .hg/patches pull -u + fi elif [ -e _MTN ] ; then echo $aa "is an mtn co, updating" && mtn pull && mtn up fi