Merge "Factor out code for updating notes branches to NotesBranchUtil."

This commit is contained in:
Edwin Kempin
2012-06-28 06:50:52 -07:00
committed by gerrit code review
6 changed files with 367 additions and 318 deletions

View File

@@ -22,6 +22,7 @@ import com.google.gerrit.server.project.ProjectControl;
import com.google.gerrit.sshd.SshCommand;
import com.google.inject.Inject;
import org.eclipse.jgit.api.errors.ConcurrentRefUpdateException;
import org.eclipse.jgit.lib.ObjectId;
import org.kohsuke.args4j.Argument;
import org.kohsuke.args4j.Option;
@@ -80,6 +81,8 @@ public class BanCommitCommand extends SshCommand {
throw die(e);
} catch (InterruptedException e) {
throw die(e);
} catch (ConcurrentRefUpdateException e) {
throw die(e);
}
}