UWC: do not lose description for graduated topics

Junio C Hamano committed Dec 7, 2007 at 01:09 UTC d3cd72a090309b93f19ced44959f3a327d1e794c
1 file changed +6 -2
UWC
+6 -2
@@ -97,7 +97,7 @@ sub parse_whats_cooking {
97 next;
98 }
99
100 - if (/^ [-+.?] / || /^ \S/) {
100 + if (/^ [-+.?*] / || /^ \S/) {
101 $topic->{"names"} .= $_;
102 next;
103 }
@@ -151,8 +151,12 @@ sub merge_whats_cooking {
151 my $newtopic = delete $new_wc->{"topic hash"}{$name};
152
153 if (!defined $newtopic) {
154 + $topic->{"text"} = ("<<deleted\n" .
155 + $topic->{"head"} .
156 + $topic->{"names"} .
157 + ">>\n\n" .
158 + $topic->{"text"});
159 $topic->{"names"} = "";
155 - $topic->{"text"} = "<<deleted>>";
160 next;
161 }
162 if (($newtopic->{"names"} ne $topic->{"names"}) ||