1 package com.proalpha.pds.gitutils.external;
3 import java.io.IOException;
5 import org.eclipse.egit.core.internal.job.RuleUtil;
6 import org.eclipse.jface.wizard.Wizard;
7 import org.eclipse.jgit.lib.Repository;
8 import org.slf4j.Logger;
9 import org.slf4j.LoggerFactory;
11 import com.proalpha.pds.gitutils.Activator;
12 import com.proalpha.pds.gitutils.mylyn.FeatureBranchSettings;
13 import com.proalpha.pds.gitutils.mylyn.ReconcileActionSettings;
14 import com.proalpha.pds.gitutils.mylyn.SelectActionPage;
39 branch = repository.getBranch();
40 }
catch (IOException e) {
41 logger.error(
"Couldn't get branch of repository!");
44 settings.setRepository(repository);
47 settings.setSourceBranch(branch);
48 settings.setTargetBranch(branch);
49 settings.setUpdateSourceBranch(
false);
50 settings.setUpdateTargetBranch(
false);
52 super.setWindowTitle(
"proALPHA local reconcile");
73 super.addPage(this.actionsPage);
79 private void reconcileAction() {
81 if (this.settings.getRepository() !=
null && actionsPage.isPageComplete()) {
85 job.setRule(RuleUtil.getRule(
this.settings.getRepository()));
static String fetchDbCommit(Repository repository)
static String fetchArtifactsCommit(Repository repository)
DBAndBinaryWizard(Repository repository)