From: Joey Hess Date: Thu, 11 Oct 2007 05:07:32 +0000 (-0400) Subject: improve error messages X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/c26daa63f0f1e5cdddb85b311f006de41b4525f0 improve error messages --- diff --git a/mr b/mr index 2932ea3..e1c8a06 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,7 +343,7 @@ status = \ elif [ -d .git ]; then \ git status || true; \ else \ - echo "mr status: unknown RCS"; \ + echo "mr status: unknown repo type"; \ exit 1; \ fi commit = \ @@ -353,6 +353,6 @@ commit = \ git commit -a "$@"; \ git push --all; \ else \ - echo "mr commit: unknown RCS"; \ + echo "mr commit: unknown repo type"; \ exit 1; \ fi