I've spent a while trying to set up IntelliJ IDEA 3.0 with CVS, where the
client I'm using is CVSNT. To be precise:
Client: Concurrent Versions System (CVSNT) 188.8.131.52 (Build 57h)
Server: Concurrent Versions System (CVSNT) 184.108.40.206 (Build 57h)
I connect to CVS using the "pserver" protocol. Unfortunately, this seems a
bit broken with Idea 3.0 on Windows, using CVSNT as the client. The only
way I seemed able to connect at first was by specifying the password in the
CVS root as follows:
When omitting the password, Idea either failed completely to connect to CVS,
or asked me repeatedly for the password, without ever succeeding to connect
So I did some homework, after searching through docs, forums, etc. Here's
what I found, hopefully it'll help others work around the problem (until
Idea gets fixed to work with CVSNT):
The CVSNT client stores the password information in the registry, as stated
Scroll down through a page of text from the above link, and you'll find the
"The records are stored, by default, in the file '$HOME/.cvspass' (Unix) or
the Registry (NT)"
The registry entry:
...contains one key/value pair, equivalent to the contents of the Unix
.cvspass file, for each active CVS server login. The key/value pair
disappears on logout.
As the the registry isn't tied to one DOS session or one application, the
following is possible:
1. Open IntelliJ
2. Setup a CVS Root, such as
3. Go back to the "CVS Checkout" dialog in IntelliJ, click on the ellipsis
button to select a module, and it just complains.
4. Without closing IntelliJ, open a DOS prompt, and type:
> SET CVSROOT=:pserver:toto@cvshost:d/repository
> cvs login
Logging in ...
CVS password: ********
> cvs co -c
(list of modules appears here)
5. Go back to IntelliJ, without logging out of CVS in the DOS prompt, and
re-attempt step 3 (listing modules). Now, it Just Works...
So, I could manually log myself in/out of CVS before/after starting/stopping
IntelliJ, but it's a real shame to fail like this.
Maybe IntelliJ should try executing "cvs login" and "cvs logout" as
appropriate, instead of relying on .cvspass ?