mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update Repository info after update command
This commit is contained in:
@@ -40,6 +40,7 @@ import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import static org.zmlx.hg4idea.util.HgErrorUtil.hasUncommittedChangesConflict;
|
||||
import static org.zmlx.hg4idea.util.HgUtil.getRepositoryManager;
|
||||
|
||||
public class HgUpdateCommand {
|
||||
|
||||
@@ -174,6 +175,7 @@ public class HgUpdateCommand {
|
||||
.notifyImportantWarning("Unresolved conflicts.",
|
||||
HgVcsMessages.message("hg4idea.update.warning.merge.conflicts", repository.getPath()));
|
||||
}
|
||||
getRepositoryManager(project).updateRepository(repository);
|
||||
HgErrorUtil.markDirtyAndHandleErrors(project, repository);
|
||||
project.getMessageBus().syncPublisher(HgVcs.BRANCH_TOPIC).update(project, repository);
|
||||
return success;
|
||||
|
||||
Reference in New Issue
Block a user