Mercurial > dotfiles
diff .shell.d/50.vcs_functions.sh @ 60:87b2ccf6ec44
Improved mq now works anywhere inside the parent hg repo.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 03 Mar 2009 09:42:36 -0600 |
parents | 20834b97b814 |
children | 79c2c3932362 |
line wrap: on
line diff
--- a/.shell.d/50.vcs_functions.sh +++ b/.shell.d/50.vcs_functions.sh @@ -2,7 +2,11 @@ # This file contains a handful of functions that relate to using some version # control tool or other. -alias mq='hg -R .hg/patches' +function mq () { + ( wcroot ; + hg -R .hg/patches $@ + ) +} # Function to grab the url of an svn wc function svnurlof() {