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:
@@ -226,7 +226,9 @@ public class PublishComments implements Callable<VoidResult> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void publishMessageOnly() throws OrmException {
|
private void publishMessageOnly() throws OrmException {
|
||||||
message(null);
|
StringBuilder msgbuf = new StringBuilder();
|
||||||
|
summarizeInlineComments(msgbuf);
|
||||||
|
message(msgbuf.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void message(String actions) throws OrmException {
|
private void message(String actions) throws OrmException {
|
||||||
|
Reference in New Issue
Block a user