CVSROOT: filter_tags.sh - disable some branches (from glen)
arekm
arekm at pld-linux.org
Wed Mar 22 13:47:34 CET 2006
Author: arekm Date: Wed Mar 22 12:47:34 2006 GMT
Module: CVSROOT Tag: HEAD
---- Log message:
- disable some branches (from glen)
---- Files affected:
CVSROOT:
filter_tags.sh (1.12 -> 1.13)
---- Diffs:
================================================================
Index: CVSROOT/filter_tags.sh
diff -u CVSROOT/filter_tags.sh:1.12 CVSROOT/filter_tags.sh:1.13
--- CVSROOT/filter_tags.sh:1.12 Sun Sep 18 18:59:41 2005
+++ CVSROOT/filter_tags.sh Wed Mar 22 13:47:29 2006
@@ -16,6 +16,7 @@
esac
RESTRICTED_BRANCH=
+INVALID_BRANCH=
SEMI_RESTRICTED_BRANCH=
AUTO_TAG=
AC_TAG=
@@ -48,6 +49,8 @@
AC-security)
LIMITED_BRANCH=1
AC_SEMI_RESTRICTED=1 ;;
+ Ac-branch|aC-branch|ac-branch)
+ INVALID_BRANCH=1 ;;
auto-ac-*)
BUILDER_USER="builder-ac"
AUTO_TAG=1 ;;
@@ -92,6 +95,11 @@
echo "Attempt to tag too many files"
exit 1
fi
+fi
+
+if [ "$INVALID_BRANCH" = 1 -a "$SUPERUSER" != 1 ]; then
+ echo "This tag is invalid (typo perhaps). You are not allowed to use this tag"
+ exit 2
fi
if [ "$RESTRICTED_BRANCH" = 1 -a "$SUPERUSER" != 1 ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/CVSROOT/filter_tags.sh?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list