Date: Tue, 1 Jul 2014 08:36:21 +0000 (UTC) From: Alex Kozlov <ak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r359966 - svnadmin/hooks/scripts Message-ID: <201407010836.s618aLVx042566@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ak Date: Tue Jul 1 08:36:21 2014 New Revision: 359966 URL: http://svnweb.freebsd.org/changeset/ports/359966 QAT: https://qat.redports.org/buildarchive/r359966/ Log: - Check directories from which files were removed (files is most common case) Approved by: portmgr (bapt) Modified: svnadmin/hooks/scripts/detect-empty.sh Modified: svnadmin/hooks/scripts/detect-empty.sh ============================================================================== --- svnadmin/hooks/scripts/detect-empty.sh Tue Jul 1 08:27:56 2014 (r359965) +++ svnadmin/hooks/scripts/detect-empty.sh Tue Jul 1 08:36:21 2014 (r359966) @@ -13,7 +13,9 @@ for line in $(svnlook changed -t $TXN $R type=$1 fpath=$2 case $type in - [^AU]*) continue;; + D) case $fpath in */) continue ;; esac # skip deleted directories + fpath="${fpath%/*}/" ;; # directory from which file was removed + [^AU]*) continue ;; esac case $fpath in */) # directory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407010836.s618aLVx042566>