From owner-svn-src-all@FreeBSD.ORG Tue Nov 3 10:15:28 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C55711065676 for ; Tue, 3 Nov 2009 10:15:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 598C58FC24 for ; Tue, 3 Nov 2009 10:15:28 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-067-242-013.pools.arcor-ip.net [88.67.242.13]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MSmoL-1MgLhh2UGT-00RWxK; Tue, 03 Nov 2009 11:15:26 +0100 Received: (qmail 94176 invoked from network); 3 Nov 2009 10:14:02 -0000 Received: from kvm.laiers.local (HELO kvm.localnet) (192.168.4.188) by ns1.laiers.local with SMTP; 3 Nov 2009 10:14:02 -0000 From: Max Laier Organization: FreeBSD To: "Simon L. Nielsen" Date: Tue, 3 Nov 2009 11:13:58 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-ARCH; KDE/4.3.2; x86_64; ; ) References: <200911022144.nA2Liw4K070791@svn.freebsd.org> In-Reply-To: <200911022144.nA2Liw4K070791@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200911031113.59437.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18ObnNoY3sMJ9Qyb1/h5EZq6ZyBh8F1pXpZaHQ natFPAdE+92s4BuO5qPIkeFE57LqIKFKWTt2SXRmoesfSwrVem ZalWLf3igUij9pKouL8bw== Cc: svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-svnadmin@freebsd.org Subject: Re: svn commit: r198826 - svnadmin/hooks/scripts X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:15:28 -0000 On Monday 02 November 2009 22:44:58 Simon L. Nielsen wrote: > Author: simon > Date: Mon Nov 2 21:44:57 2009 > New Revision: 198826 > URL: http://svn.freebsd.org/changeset/base/198826 > > Log: > Only print the 'Directory Properties' section if we actually have > changed directory properties. Thank you for the commit and sorry for this oversight. This is mine. > Modified: > svnadmin/hooks/scripts/mailer.py > > Modified: svnadmin/hooks/scripts/mailer.py > =========================================================================== > === --- svnadmin/hooks/scripts/mailer.py Mon Nov 2 21:44:10 2009 (r198825) > +++ svnadmin/hooks/scripts/mailer.py Mon Nov 2 21:44:57 2009 (r198826) @@ > -1062,7 +1062,8 @@ class TextCommitRenderer: > text = ' unchanged' > w(' - copied%s from r%d, %s%s\n' > % (text, d.base_rev, d.base_path, is_dir)) > - w('Directory Properties:\n%s' % (ps)) > + if len(ps) > 0: > + w('Directory Properties:\n%s' % (ps)) > > def _render_diffs(self, diffs, section_header): > """Render diffs. Write the SECTION_HEADER if there are actually > > > !DSPAM:4aef52ed799761205380022! > -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News