mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[hg] rename
This commit is contained in:
@@ -76,8 +76,8 @@ public class HgRemoteStatusUpdater implements HgUpdater {
|
||||
if (project.isDisposed()) return;
|
||||
final VirtualFile[] roots =
|
||||
root != null ? new VirtualFile[]{root} : ProjectLevelVcsManager.getInstance(project).getRootsUnderVcs(myVcs);
|
||||
updateChangesetStatus(project, roots, myIncomingStatus, true);
|
||||
updateChangesetStatus(project, roots, myOutgoingStatus, false);
|
||||
updateChangesStatusSynchronously(project, roots, myIncomingStatus, true);
|
||||
updateChangesStatusSynchronously(project, roots, myOutgoingStatus, false);
|
||||
|
||||
project.getMessageBus().syncPublisher(HgVcs.INCOMING_OUTGOING_CHECK_TOPIC).update();
|
||||
|
||||
@@ -110,7 +110,7 @@ public class HgRemoteStatusUpdater implements HgUpdater {
|
||||
}
|
||||
}
|
||||
|
||||
private void updateChangesetStatus(Project project, VirtualFile[] roots, HgChangesetStatus status, boolean incoming) {
|
||||
private void updateChangesStatusSynchronously(Project project, VirtualFile[] roots, HgChangesetStatus status, boolean incoming) {
|
||||
if (!myProjectSettings.isCheckIncomingOutgoing()) return;
|
||||
final List<HgRevisionNumber> changesets = new LinkedList<HgRevisionNumber>();
|
||||
for (VirtualFile root : roots) {
|
||||
|
||||
Reference in New Issue
Block a user