From: Joey Hess Date: Thu, 11 Oct 2007 16:23:20 +0000 (-0400) Subject: pass parameters through to all commands X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/2359ca6904c1b268ace92ee0306539c779eff8e8 pass parameters through to all commands probably mostly useful in the case where mr is using all one revision control system.. --- diff --git a/mr b/mr index f2e4af5..6c59683 100755 --- a/mr +++ b/mr @@ -405,17 +405,17 @@ lib = \ } update = \ if [ -d .svn ]; then \ - svn update; \ + svn update "$@"; \ elif [ -d .git ]; then \ - git pull origin master; \ + git pull origin master "$@"; \ else \ error "unknown repo type"; \ fi status = \ if [ -d .svn ]; then \ - svn status; \ + svn status "$@"; \ elif [ -d .git ]; then \ - git status || true; \ + git status "$@" || true; \ else \ error "unknown repo type"; \ fi