Mercurial > dotfiles
comparison .zsh/50.vcs_functions.zsh @ 35:7e9269048856
Fix update_source_trees to also pull versioned mq if it exists.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 11 Jan 2009 21:49:52 -0600 |
parents | a5691a22c92b |
children |
comparison
equal
deleted
inserted
replaced
34:1c70c9393f45 | 35:7e9269048856 |
---|---|
58 git pull origin master | 58 git pull origin master |
59 git repack | 59 git repack |
60 git gc | 60 git gc |
61 elif [ -e .hg ] ; then | 61 elif [ -e .hg ] ; then |
62 echo $aa 'is an hg checkout, updating' && hg pull && hg up | 62 echo $aa 'is an hg checkout, updating' && hg pull && hg up |
63 if [ -e .hg/patches/.hg ] ; then | |
64 echo $aa 'has an mq, updating that too...' | |
65 hg -R .hg/patches pull -u | |
66 fi | |
63 elif [ -e _MTN ] ; then | 67 elif [ -e _MTN ] ; then |
64 echo $aa "is an mtn co, updating" && mtn pull && mtn up | 68 echo $aa "is an mtn co, updating" && mtn pull && mtn up |
65 fi | 69 fi |
66 popd > /dev/null | 70 popd > /dev/null |
67 done | 71 done |