# HG changeset patch # User Augie Fackler # Date 1236094956 21600 # Node ID 87b2ccf6ec44517172e719a071b6d8198e9050c3 # Parent 2eb8cbc080709ba3b84cc92e6506ec5cfb078ca2 Improved mq now works anywhere inside the parent hg repo. diff --git a/.shell.d/50.vcs_functions.sh b/.shell.d/50.vcs_functions.sh --- 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() {