summaryrefslogtreecommitdiffstats
path: root/CVSROOT/tagcheck
blob: 8ce267500a824f52000a83600cebcc377beeec28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh
#
# $FreeBSD$

# TAG  add/mov/del  repo  files...
# $1   $2           $3    $4   ...

case "$1" in
  RELENG*)
    ;;
  *)
    exit 0	# not reserved, ok.
    ;;
esac

case "$USER" in
  jkh | peter | jdp | markm)
    exit 0	# ok
    ;;
  *)
    echo "RELENG* tag operations are reserved for release engineering!" 1>&2
    echo "Use 'cvs add' or 'cvs rm' to add/remove files from branches!" 1>&2
    echo "$*" | /usr/bin/mail -s "NCVS TAG" cvs
    exit 1
    ;;
esac
OpenPOWER on IntegriCloud