use of org.zmlx.hg4idea.provider.update.HgUpdateConfigurationSettings in project intellij-community by JetBrains.
the class HgUpdateTest method updateThroughPlugin.
private List<VcsException> updateThroughPlugin() throws VcsException {
HgRegularUpdater updater = new HgRegularUpdater(myProject, projectRepoVirtualFile, new HgUpdateConfigurationSettings());
UpdatedFiles updatedFiles = UpdatedFiles.create();
EmptyProgressIndicator indicator = new EmptyProgressIndicator();
ArrayList<VcsException> nonFatalWarnings = new ArrayList<>();
updater.update(updatedFiles, indicator, nonFatalWarnings);
return nonFatalWarnings;
}
Aggregations