From 1efafb561ab6932f5af47228a1d55016378ffe54 Mon Sep 17 00:00:00 2001 From: "Nadya.Zabrodina" Date: Mon, 29 Oct 2012 15:47:56 +0400 Subject: [PATCH] Hg: Added branch in RepoView IOException fixed --- .../hg4idea/provider/HgCachingCommitedChangesProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/provider/HgCachingCommitedChangesProvider.java b/plugins/hg4idea/src/org/zmlx/hg4idea/provider/HgCachingCommitedChangesProvider.java index 493f8d5933f0..8b4f7bce89f8 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/provider/HgCachingCommitedChangesProvider.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/provider/HgCachingCommitedChangesProvider.java @@ -50,6 +50,7 @@ public class HgCachingCommitedChangesProvider implements CachingCommittedChanges private final Project project; private final HgVcs myVcs; + public final static int VERSION_WITH_REPOSITORY_BRANCHES = 2; public HgCachingCommitedChangesProvider(Project project, HgVcs vcs) { this.project = project; @@ -57,7 +58,7 @@ public class HgCachingCommitedChangesProvider implements CachingCommittedChanges } public int getFormatVersion() { - return 0; + return VERSION_WITH_REPOSITORY_BRANCHES; } public CommittedChangeList readChangeList(RepositoryLocation repositoryLocation, DataInput dataInput) throws IOException {