Merge "Fail review command for changing labels when change is closed"

This commit is contained in:
Shawn Pearce
2011-06-21 12:57:09 -07:00
committed by Android Code Review
2 changed files with 7 additions and 3 deletions

View File

@@ -222,9 +222,9 @@ public class ReviewCommand extends BaseCommand {
}
}
publishCommentsFactory.create(patchSetId, changeComment, aps).call();
try {
publishCommentsFactory.create(patchSetId, changeComment, aps).call();
if (abandonChange) {
if (changeControl.canAbandon()) {
ChangeUtil.abandon(patchSetId, currentUser, changeComment, db,