Date: Tue, 3 Nov 2009 11:13:58 +0100 From: Max Laier <max@love2party.net> To: "Simon L. Nielsen" <simon@freebsd.org> Cc: svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-svnadmin@freebsd.org Subject: Re: svn commit: r198826 - svnadmin/hooks/scripts Message-ID: <200911031113.59437.max@love2party.net> In-Reply-To: <200911022144.nA2Liw4K070791@svn.freebsd.org> References: <200911022144.nA2Liw4K070791@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911031113.59437.max>