mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
[Mercurial] More merge.
This commit is contained in:
@@ -40,6 +40,7 @@ class HgIncomingStatusUpdater implements HgUpdater {
|
||||
public void run() {
|
||||
new Task.Backgroundable(project, "Checking Incoming Changesets", true) {
|
||||
public void run(@NotNull ProgressIndicator indicator) {
|
||||
if (project.isDisposed()) return;
|
||||
HgIncomingCommand command = new HgIncomingCommand(project);
|
||||
VcsRoot[] roots = ProjectLevelVcsManager.getInstance(project).getAllVcsRoots();
|
||||
List<HgRevisionNumber> changesets = new LinkedList<HgRevisionNumber>();
|
||||
@@ -50,7 +51,7 @@ class HgIncomingStatusUpdater implements HgUpdater {
|
||||
}
|
||||
}.queue();
|
||||
}
|
||||
});
|
||||
}, project.getDisposed());
|
||||
}
|
||||
|
||||
private final class IncomingChangesetFormatter implements HgChangesetStatus.ChangesetWriter {
|
||||
|
||||
@@ -40,6 +40,7 @@ class HgOutgoingStatusUpdater implements HgUpdater {
|
||||
public void run() {
|
||||
new Task.Backgroundable(project, "Checking Outgoing Changesets", true) {
|
||||
public void run(@NotNull ProgressIndicator indicator) {
|
||||
if (project.isDisposed()) return;
|
||||
HgOutgoingCommand command = new HgOutgoingCommand(project);
|
||||
VcsRoot[] roots = ProjectLevelVcsManager.getInstance(project).getAllVcsRoots();
|
||||
List<HgRevisionNumber> outgoing = new LinkedList<HgRevisionNumber>();
|
||||
@@ -51,7 +52,7 @@ class HgOutgoingStatusUpdater implements HgUpdater {
|
||||
}
|
||||
}.queue();
|
||||
}
|
||||
});
|
||||
}, project.getDisposed());
|
||||
}
|
||||
|
||||
private final class OutgoingChangesetFormatter implements HgChangesetStatus.ChangesetWriter {
|
||||
|
||||
Reference in New Issue
Block a user