This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository pkg-perl-tools.

commit dc9c0b7c057d83616a26d52ba47212fd4e759110
Author: Axel Beckert <a...@deuxchevaux.org>
Date:   Tue Jul 21 23:57:04 2015 +0200

    alioth-repo: Add "I:" and "E:" prefixes to STDERR messages
---
 scripts/alioth-repo | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/alioth-repo b/scripts/alioth-repo
index b7a506c..e1b5850 100755
--- a/scripts/alioth-repo
+++ b/scripts/alioth-repo
@@ -43,13 +43,13 @@ fi
 set -u
 
 if [ -z "$DIST" ]; then
-   echo "Couldn't determine distribution name. You can pass it manually as 
parameter." 1>&2
+   echo "E: Couldn't determine distribution name. You can pass it manually as 
parameter." 1>&2
    exit 1
 fi
 
 # Setup the repository on alioth if it doesn't exist yet.
 if ssh git.debian.org test -e "/git/pkg-perl/packages/$PKG.git"; then
-    echo "/git/pkg-perl/packages/$PKG.git already exists on git.debian.org, 
skipping setup-repository" 1>&2
+    echo "I: /git/pkg-perl/packages/$PKG.git already exists on git.debian.org, 
skipping setup-repository" 1>&2
 else
     ssh git.debian.org /git/pkg-perl/setup-repository $PKG \"Debian packaging 
of $DIST CPAN distribution\"
 fi
@@ -57,11 +57,11 @@ fi
 # Check if there is already a remote called "origin" before proceeding
 if git remote | egrep -q '^origin$'; then
     if git remote -v | egrep 
"^origin[[:space:]].*git\.debian.org.*/git/pkg-perl/packages/$PKG\.git\b.*\(push\)$";
 then
-        echo 'A remote called "origin" already exists and looks like the right 
one.' 1>&2
-        echo 'Skipping the addition of a remote repository named "origin".' 
1>&2
+        echo 'I: A remote called "origin" already exists and looks like the 
right one.' 1>&2
+        echo 'I: Skipping the addition of a remote repository named "origin".' 
1>&2
     else
-        echo "A remote called \"origin\" already exists and doesn't look 
right. Aborting." 1>&2
-        echo 'You may want to rename it with "git remote rename origin 
origin-old".' 1>&2
+        echo "E: A remote called \"origin\" already exists and doesn't look 
right. Aborting." 1>&2
+        echo 'E: You may want to rename it with "git remote rename origin 
origin-old".' 1>&2
         exit 1;
     fi
 else

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to