Our development team is using CVS (via Intellij). Recently I've created a branch within CVS using Intellij. I have to develop both in the trunk and in the branch. Therefore, I have two Intellij windows open: The first Intellij window is opened with my existing project (which is the trunk). In the second Intellij window I've created a new project and checked out, from CVS, the code from the new branch. When I commit a file in my second Intellij window, the changes are committed to the branch (which I can see from the revision numbers). This is working fine and is exactly what I want. However, when I commit changes in my first Intellij window (which represents code from the trunk), the commit is made not against the trunk, but against the branch (as indicated by the revision numbers). My question is, using Intellij, how can I make my commits against the trunk and not the branch?
I'm using Intellij version 7.0. Thanks in advance!