Move BatchUpdate to a new package

This class is a whole framework for executing updates in a mixed
ReviewDb/NoteDb environment. Move it to some place more specific and
applicable than "git", along with some auxiliary classes.

Change-Id: Ibcea72b8900d259e51d3311b3db8bc70218ca148
This commit is contained in:
Dave Borowitz
2017-03-10 12:51:50 -05:00
parent 68a23fcfb3
commit ea11b28e66
83 changed files with 193 additions and 176 deletions

View File

@@ -35,16 +35,16 @@ import com.google.gerrit.server.change.ChangeResource;
import com.google.gerrit.server.change.ChangesCollection;
import com.google.gerrit.server.change.PostReviewers;
import com.google.gerrit.server.config.AllProjectsName;
import com.google.gerrit.server.git.BatchUpdate;
import com.google.gerrit.server.git.MetaDataUpdate;
import com.google.gerrit.server.git.ProjectConfig;
import com.google.gerrit.server.git.UpdateException;
import com.google.gerrit.server.git.validators.CommitValidators;
import com.google.gerrit.server.group.SystemGroupBackend;
import com.google.gerrit.server.project.ProjectCache;
import com.google.gerrit.server.project.ProjectControl;
import com.google.gerrit.server.project.RefControl;
import com.google.gerrit.server.project.SetParent;
import com.google.gerrit.server.update.BatchUpdate;
import com.google.gerrit.server.update.UpdateException;
import com.google.gwtorm.server.OrmException;
import com.google.inject.Inject;
import com.google.inject.Provider;