X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/8200c01ad21ff0fbe3e9fcff6f25b645a2b813be..052ba0de1db046987852e41b14c2fc78ebd905f2:/mr diff --git a/mr b/mr index 2932ea3..ee5e5e2 100755 --- a/mr +++ b/mr @@ -334,7 +334,7 @@ update = \ elif [ -d .git ]; then \ git pull origin master; \ else \ - echo "mr update: unknown RCS"; \ + echo "mr update: unknown repo type"; \ exit 1; \ fi status = \ @@ -343,16 +343,15 @@ status = \ elif [ -d .git ]; then \ git status || true; \ else \ - echo "mr status: unknown RCS"; \ + echo "mr status: unknown repo type"; \ exit 1; \ fi commit = \ if [ -d .svn ]; then \ svn commit "$@"; \ elif [ -d .git ]; then \ - git commit -a "$@"; \ - git push --all; \ + git commit -a "$@" && git push --all; \ else \ - echo "mr commit: unknown RCS"; \ + echo "mr commit: unknown repo type"; \ exit 1; \ fi