Summarize number of inline comments on non-current patch set

If the patch set we are commenting on isn't the current one, we
can't have any approval actions, but we still want to see a note
on the top level change.  Ensure its there anyway.

Bug: issue 396
Change-Id: I2a584fe975a3d39b9c09af06e6a0121e89fe8d40
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-06-16 16:00:31 -07:00
parent 91763a0d13
commit ee0030afc1

View File

@@ -226,7 +226,9 @@ public class PublishComments implements Callable<VoidResult> {
}
private void publishMessageOnly() throws OrmException {
message(null);
StringBuilder msgbuf = new StringBuilder();
summarizeInlineComments(msgbuf);
message(msgbuf.toString());
}
private void message(String actions) throws OrmException {