From owner-svn-ports-all@FreeBSD.ORG Wed Jan 8 14:55:22 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 631943FA; Wed, 8 Jan 2014 14:55:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46C031190; Wed, 8 Jan 2014 14:55:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s08EtMCu022612; Wed, 8 Jan 2014 14:55:22 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s08EtMwh022611; Wed, 8 Jan 2014 14:55:22 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401081455.s08EtMwh022611@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 8 Jan 2014 14:55:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r339143 - svnadmin/hooks/scripts X-SVN-Group: ports-svnadmin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 14:55:22 -0000 Author: bapt Date: Wed Jan 8 14:55:21 2014 New Revision: 339143 URL: http://svnweb.freebsd.org/changeset/ports/339143 Log: Use stricter regex to only match MFH: Modified: svnadmin/hooks/scripts/mfh.sh Modified: svnadmin/hooks/scripts/mfh.sh ============================================================================== --- svnadmin/hooks/scripts/mfh.sh Wed Jan 8 14:45:13 2014 (r339142) +++ svnadmin/hooks/scripts/mfh.sh Wed Jan 8 14:55:21 2014 (r339143) @@ -6,7 +6,7 @@ REV="$2" AUTHOR=$(svnlook author -r "$REV" "$REPOS") LOG=$(svnlook log -r "$REV" "$REPOS") DIFF=$(svnlook diff -r "$REV" "$REPOS") -MFH_LINE=$(echo "$LOG" | grep '^MFH:[[:space:]]*[[:alnum:]]') +MFH_LINE=$(echo "$LOG" | grep "^MFH:[[:space:]]*[[:digit:]]\+Q[[:digit:]]" if [ "$MFH_LINE" = "" ]; then exit 0 fi