From 1347b0fd7a3fca01f3e488bba48aaacd87d34787 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Thu, 20 Nov 2014 19:41:40 +0300 Subject: [PATCH] update Repository info after update command --- .../hg4idea/src/org/zmlx/hg4idea/command/HgUpdateCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgUpdateCommand.java b/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgUpdateCommand.java index acdee3c3c54f..4cfe72f121f9 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgUpdateCommand.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgUpdateCommand.java @@ -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;