How to purge VCS cache?

Hello,
I've got a problem with the cached data about SVN repository. I had a branch of the project(let's call it BRANCH_1) and I needed to remove that branch, take some other branch(BRANCH_2) and put it in place of BRANCH_1.
So what I did was:
1) closed Idea
2) removed BRANCH_1 in tortoise
3) deleted BRANCH_1 directory on my PC
4) created BRANCH_1 again from BRANCH_2(in idea via branch/tag and selected BRANCH_2 to be the source)
5) checkouted BRANCH_1 via cli command 'svn co ...branches/BRANCH_1'
6) opened idea again

Now the problem is, that in the repository history, I still see the changelists from the old BRANCH_1, not the new one. The sources are really from the new branch, but no matter what I try, I still see the history of the old branch(which obviously doesn't match the sources). A colleague, who checkouted the branch after that(he never had BRANCH_1 before) sees the correct history.
What I tried:
reload the revisions
invalidate caches and restart
close idea and remove ..IdeaIC10/system/caches
none of these helped.

idea version:107.58
os: Arch Linux 64bit
VCS: SVN of unknown version(the idea project files - ipr,iml are not in VCS)

What can I do? I don't want to delete whole .IdeaC10 directory and lose all the settings.

Thanks,
Jan A.

2 comments
Comment actions Permalink

Hello Jan,

The VCS cache is stored under ideaIC10/system/vcsCache.

I've got a problem with the cached data about SVN repository. I had a
branch of the project(let's call it BRANCH_1) and I needed to remove
that branch, take some other branch(BRANCH_2) and put it in place of
BRANCH_1.

So what I did was:

1) closed Idea

2) removed BRANCH_1 in tortoise

3) deleted BRANCH_1 directory on my PC

4) created BRANCH_1 again from BRANCH_2(in idea via branch/tag and
selected BRANCH_2 to be the source)

5) checkouted BRANCH_1 via cli command 'svn co ...branches/BRANCH_1'

6) opened idea again

Now the problem is, that in the repository history, I still see the
changelists from the old BRANCH_1, not the new one. The sources are
really from the new branch, but no matter what I try, I still see the
history of the old branch(which obviously doesn't match the sources).
A colleague, who checkouted the branch after that(he never had
BRANCH_1 before) sees the correct history.

What I tried:

reload the revisions

invalidate caches and restart

close idea and remove ..IdeaIC10/system/caches

none of these helped.

idea version:107.58
os: Arch Linux 64bit
VCS: SVN of unknown version(the idea project files - ipr,iml are not
in VCS)
What can I do? I don't want to delete whole .IdeaC10 directory and
lose all the settings.

Thanks, Jan A.

---
Original message URL:
http://devnet.jetbrains.net/message/5444970#5444970


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thank you, I didn't notice that one(when I found cache, I thought I've won and didn't investigate further).
Anyway, shouldn't that be detected automatically when I click on refresh in the repository tab? Or is that very uncommon and hard-to-detect case?

P.S. I can't check it right now, will post a comment tommorow if it helps.
Problem solved, thanks.

Message was edited by: Jan Abrahamcik

0

Please sign in to leave a comment.