mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ArrayOutOfBounds Exception fixed when update log after commit
This commit is contained in:
@@ -28,7 +28,9 @@ import org.zmlx.hg4idea.HgVcs;
|
||||
import org.zmlx.hg4idea.HgVcsMessages;
|
||||
import org.zmlx.hg4idea.execution.HgCommandException;
|
||||
import org.zmlx.hg4idea.execution.HgCommandExecutor;
|
||||
import org.zmlx.hg4idea.repo.HgRepositoryManager;
|
||||
import org.zmlx.hg4idea.util.HgEncodingUtil;
|
||||
import org.zmlx.hg4idea.util.HgUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@@ -88,6 +90,10 @@ public class HgCommitCommand {
|
||||
commitChunkFiles(chunk, amendCommit);
|
||||
}
|
||||
}
|
||||
if (!myProject.isDisposed()) {
|
||||
HgRepositoryManager manager = HgUtil.getRepositoryManager(myProject);
|
||||
manager.updateRepository(myRoot);
|
||||
}
|
||||
final MessageBus messageBus = myProject.getMessageBus();
|
||||
messageBus.syncPublisher(HgVcs.REMOTE_TOPIC).update(myProject, null);
|
||||
messageBus.syncPublisher(HgVcs.BRANCH_TOPIC).update(myProject, null);
|
||||
|
||||
Reference in New Issue
Block a user