svn commit: r443729 - svnadmin/hooks/scripts
Bryan Drewery
bdrewery at FreeBSD.org
Sat Jun 17 03:36:37 UTC 2017
Author: bdrewery
Date: Sat Jun 17 03:36:36 2017
New Revision: 443729
URL: https://svnweb.freebsd.org/changeset/ports/443729
Log:
Disallow adding ports with '@' in them.
This will be used for FLAVORS.
Approved by: portmgr (implicit)
Modified:
svnadmin/hooks/scripts/detect-filename.sh
Modified: svnadmin/hooks/scripts/detect-filename.sh
==============================================================================
--- svnadmin/hooks/scripts/detect-filename.sh Sat Jun 17 03:01:56 2017 (r443728)
+++ svnadmin/hooks/scripts/detect-filename.sh Sat Jun 17 03:36:36 2017 (r443729)
@@ -17,9 +17,9 @@ fi
$SVNLOOK log -t "$TXN" "$REPO" | grep -q 'portmgr' && exit 0
# We scan through the transaction diff, looking for files with colon in the name
-if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*:'; then
- echo "Some files in your commit have a colon (:) in the name" >&2
- echo "which is not allowed. Use _ instead of : for patches." >&2
+if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*[:@]'; then
+ echo "Some files in your commit have a colon (:) or (@) in the name" >&2
+ echo "which is not allowed. Use _ instead for patches." >&2
echo "Or even better, generate your patches with make makepatch." >&2
echo "For further information please read:" >&2
echo "http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html" >&2
More information about the svn-ports-svnadmin
mailing list