Show the patch name in the description in do_commit().
Sun Nov 6 23:48:38 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Show the patch name in the description in do_commit().
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2015-10-11 04:30:26.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2015-10-11 04:30:26.000000000 +0000
@@ -1356,8 +1356,11 @@
'name': p.name,
}
if p.comment:
- c = p.comment.replace('\n', '<br/>')
- print '<div class="page_body">', c, '</div>'
+ c = p.comment.replace('\n', '<br/>\n')
+ print '<div class="page_body">'
+ print p.name, '<br/><br/>'
+ print c
+ print '</div>'
changed = p.adds + p.removes + p.modifies.keys() + p.moves.keys() + \
p.diradds + p.dirremoves + p.replaces.keys()