svn commit: r198826 - svnadmin/hooks/scripts
Max Laier
max at love2party.net
Tue Nov 3 10:27:06 UTC 2009
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 at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the svn-src-svnadmin
mailing list