From 0aa5a2767f4fe5aed65a289253b7eff1faf0d48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Sun, 6 Dec 2009 13:40:20 +0100 Subject: page: Handle new topic branches While at it, explain the source of the comments about topic branches. --- page | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'page') diff --git a/page b/page index f4b065d09c..3ddda003c5 100755 --- a/page +++ b/page @@ -43,6 +43,9 @@ print <<"END";

$title

+

The comment about each topic branch is taken from the latest +What\'s cooking in erlang/otp email and may no longer apply if +the topic branch has been updated.

\n"; my $text = $cooking{$topic}; - $text =~ s/\n\n/$&

/g; - print "

$text\n" if $text ne ''; - print "

" if $text eq ''; + unless (defined $text) { + print "

New topic branch\n"; + } else { + $text =~ s/\n\n/$&

/g; + print "

$text\n" if $text ne ''; + print "

" if $text eq ''; + } print "\n"; } -- cgit v1.2.3