Invalid CVS root:

Hi All,

Im trying to get CVS with PServer working with my project using intellij 4.5.

I setup the passwords correctly and I can checkout/update/commit from WinCVS without problems.

In the IDEA dialog for setting up CVS I enter

:pserver:Mydomain/MyUser@thecomputer:/root

and it works fine.

It also works from the command window.

Any ideas?

Thanks

6 comments
Comment actions Permalink

:pserver:Mydomain/MyUser@thecomputer:/root


IIRC, you must not use MyDomain with pserver access.

Tom

0
Comment actions Permalink

Thanks. I tried this and it still doesn't work.

I modified the passwd file and added a user name with no domain. It worked from the command window but again not in idea. :(

Has anyone got idea 4.5 to work with cvsnt?

0
Comment actions Permalink

Has anyone got idea 4.5 to work with cvsnt?


What version of CVSNT? BTW, if SmartCVS works with your CVSNT version,
there is a good chance, that IDEA works, too.

Tom

0
Comment actions Permalink

Hello Dan,

Thanks. I tried this and it still doesn't work.

I modified the passwd file and added a user name with no domain. It
worked from the command window but again not in idea. :(


Configure the new valid CVS Root in IDEA and ensure that Test Connection
works for you. Then make a clean project checkout, it's necessary to update
all the CVS\Root files within the project directory with the new root.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Thanks, that worked!

0
Comment actions Permalink

I just wanted to chime in as I ran into something similar to this in case anyone else is googling this problem. I'm using intellij 4.5 and wincvs 1.3.20. In wincvs 1.3.20 they have changed the way CVSROOT tag is handled, so funny things started appearing to me when using wincvs and intellij at the same time on the same repository. Basically, I would do an update with wincvs and then intellij couldn't connect to cvs during any commands even though "test connection" was successfull?! Then what I noticed is that extra cvs root configuration was added in intellij (after syncing via wincvs). So there where two roots in intellij. One from wincvs which allows you to specify the password on command line (pserver emethod) and the other one from intellij allowing you to specify the password to cvs in .cvspass file. Only the one from intelij works when doing any cvs commands in intellij. So the setting for CVSROOT in ROOT files was the one being used and that one was created with wincvs. So yes, you can recreate the CVSROOT setting via intellij in the ROOT files and then things will work in intellij, but if any other program like wincvs modifies it , then things will not work.
Intellij uses .cvspass file to authenticate to cvs and if you specify a password in the CVSROOT variable then things don't work.
I don't really care what the right solution is to make wincvs use .cvspass files or to make intellij recognize cvs password via the CVSROOT variable setting, but it is annoying when I do an update via wincvs and then intellij cvs commands don't work.
Also, it is a nuissance when you check out a project from cvs for the first time in intellij, you can not specify the tag. You can check it out and then do an update to that tag. If the project is large when syncing takes an hour or so, it takes "forever" to check out a particular branch of the project....
intellij is awesome and I just wanted to mention things that can enhance my productivity at work.

0

Please sign in to leave a comment.