OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 11-Aug-2005 11:32:34
Branch: HEAD Handle: 2005081110323300
Modified files:
openpkg-tools/cmd dev.sh
Log:
prohibit use of "cvs commit" inside development shell
Summary:
Revision Changes Path
1.51 +2 -0 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.50 -r1.51 dev.sh
--- openpkg-tools/cmd/dev.sh 10 Aug 2005 12:58:21 -0000 1.50
+++ openpkg-tools/cmd/dev.sh 11 Aug 2005 09:32:33 -0000 1.51
@@ -581,6 +581,8 @@
case "$1" in
di|dif|diff ) [ ".`uwhich cvs-diff-colorize`" != . ] &&
cvs_colorize="cvs-diff-colorize" ;;
up|upd|update ) [ ".`uwhich cvs-update-colorize`" != . ] &&
cvs_colorize="cvs-update-colorize" ;;
+ com|commit ) error "$0:ERROR: use of \"cvs commit\" is disabled
here, use \"opd release\""; return 1 ;;
+ ci|checkin ) error "$0:ERROR: use of \"cvs checkin\" is disabled
here, use \"opd release\""; return 1 ;;
esac
HOME=${OPENPKG_WORK} command cvs ${1+"$@"} | $cvs_colorize
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]