CVS PServer Issue on 3.0.5
It seems that CVS PServer on 3.0.5 is not behaving quite right, part of
it is because the CVS executable has changed in some ways.
I'm trying this with cvs version 1.11.4 for windows off of the
cvshome.org site. When I setup the executable in the CVS pane of the
project, and try to update, add, commit anything in CVS I get the
following error:
cvs-1.11.4.exe update: CVSROOT may only specify a positive, non-zero,
integer port (not `2401:').
cvs-1.11.4.exe update: Perhaps you entered a relative pathname?
cvs-1.11.4.exe : Bad CVSROOT:
`:pserver:ssfeir@codepuccino.com:2401:/usr/local/cvs'.
When I try it from the command line, it does the same thing, so it's a
CVS issue which is now becoming a problem in IDEA. This is why I
haven't filed this as a bug with IDEA since it's not an IDEA bug exactly.
My questions:
1- Is there a workaround
2- Are there other recommended CVS executables which have proven to work
in 3.0.5? Which version and where do I get it from?
Thanks
R
Please sign in to leave a comment.
Robert S. Sfeir wrote:
Have you tried removing the colon between 2401 and the path?
I've used WinCVS's cvs client without a problem.
http://www.wincvs.org/
Stable 1.2 version is old but works:
http://sourceforge.net/project/showfiles.php?group_id=10072&release_id=24467
The beta 1.3 version uses cvsnt:
http://sourceforge.net/project/showfiles.php?group_id=10072&release_id=177473
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Gordon Tyler wrote:
>> cvs-1.11.4.exe update: CVSROOT may only specify a positive, non-zero,
>> integer port (not `2401:').
>> cvs-1.11.4.exe update: Perhaps you entered a relative pathname?
>> cvs-1.11.4.exe : Bad CVSROOT:
>> `:pserver:ssfeir@codepuccino.com:2401:/usr/local/cvs'.
>>
>> My questions:
>> 1- Is there a workaround
I wish I could, I didn't add it, IDEA is adding it all on its own. It
seems to work fine if I don't use the port number from the command line,
but IDEA for some reason keeps popping the port in even if you don't
specify one. Perhaps that should be filed as an idea bug.
>> 2- Are there other recommended CVS executables which have proven to
>> work in 3.0.5? Which version and where do I get it from?
Well the Win CVS client used to have a cvs.exe installed with it, I
didn't see it in 1.2 or 1.3 that I tried to install and run. I'll try
it again and see what I can do there.
The CVS in the EAP sure has me spoiled! :)
R
Gordon, I tried WinCVS 1.2 and now it asks me for my password... over
and over and over and over... just to check in one file. My password
is correct, I don't have caps lock on and all that other silly stuff.
Now what? I thought these issues had been resolved... :-\
R
Robert, i'm using CVS fine in 3.0.5. i simply have intellij pointing to the wincvs cvs.exe. C:\intellij\cvs.exe. be sure the .cvspass file is in the PATH too.
i hope that somehow helps.
-trevor
Robert S. Sfeir wrote:
Hmm... I have been using 3.0.5 with WinCVS 1.2 with a Unix cvs pserver
with no problems.
Have you tried using WinCVS itself directly?
Try starting up WinCVS, and in the Admin->Preferences->WinCVS option
dialog, try changing the HOME setting to where IntelliJ stores your
.cvspass file. I think on Windows that's your profile directory
(something like C:\Documents and Settings\username).
Otherwise, I'm stumped 8(
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Gordon Tyler wrote:
>> Gordon, I tried WinCVS 1.2 and now it asks me for my password... over
>> and over and over and over... just to check in one file. My password
>> is correct, I don't have caps lock on and all that other silly stuff.
>>
>> Now what? I thought these issues had been resolved... :-\
thanks for the replies, Gordon, I tried all that, it works fine in
WinCVS but in idea it keeps asking me for the password. If I do this in
944 all is fine. There seems to be some kind of bug in 3.0.5, not sure
how to report it quite yet.
R
Hello Robert,
It seems that incompatible CVSROOT was used during the first project
checkout. This root is stored in CVS metadata files (CVS\Root) and is
used during update. The standard CVS client doesn't understand this
syntax (extra colon after port number) and fails.
The solution is to delete all your project files and make a clean
checkout from IDEA using CVSROOT specified in CVS integration
settings (IDEA does not add port number by itself!). Please note that
Cygwin and WinCVS console cvs clients are storing .cvspass with Unix
line endings, while platform specific line endings must be used, that
is why IDEA keeps asking for the password, it just can't read the
.cvspass properly.
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
-
Original Message-----
From: "Robert S. Sfeir" <no_mail@jetbrains.com>
Sent: Wednesday, October 15, 2003, 8:16:23 PM
To: All <jetbrains.intellij.community>
Subject: CVS PServer Issue on 3.0.5
Gordon Tyler wrote:
>> cvs-1.11.4.exe update: CVSROOT may only specify a positive, non-zero,
>> integer port (not `2401:').
>> cvs-1.11.4.exe update: Perhaps you entered a relative pathname?
>> cvs-1.11.4.exe : Bad CVSROOT:
>> `:pserver:ssfeir@codepuccino.com:2401:/usr/local/cvs'.
>>
>> My questions:
>> 1- Is there a workaround
I wish I could, I didn't add it, IDEA is adding it all on its own. It
seems to work fine if I don't use the port number from the command line,
but IDEA for some reason keeps popping the port in even if you don't
specify one. Perhaps that should be filed as an idea bug.
>> 2- Are there other recommended CVS executables which have proven to
>> work in 3.0.5? Which version and where do I get it from?
Well the Win CVS client used to have a cvs.exe installed with it, I
didn't see it in 1.2 or 1.3 that I tried to install and run. I'll try
it again and see what I can do there.
The CVS in the EAP sure has me spoiled! :)
R
Serge,
In fact this is what I did this weekend. The problem is that the root
was valid, but for some reason it wouldn't overwrite the password that
the original project was checked out with. It works fine in 944, so I'm
not going to file it as a bug. 944 is much more intelligent about
dealing with CVS.
So I checked all my files in using 944, and then rechecked out the whole
project in 3.0.5 so I could keep doing my work.
R
Serge Baranov wrote:
>>Robert S. Sfeir wrote:
>>
>>
>>>cvs-1.11.4.exe update: CVSROOT may only specify a positive, non-zero,
>>>integer port (not `2401:').
>>>cvs-1.11.4.exe update: Perhaps you entered a relative pathname?
>>>cvs-1.11.4.exe : Bad CVSROOT:
>>>`:pserver:ssfeir@codepuccino.com:2401:/usr/local/cvs'.
>>>
>>>My questions:
>>>1- Is there a workaround
>>
>>
>>Have you tried removing the colon between 2401 and the path?
>>>2- Are there other recommended CVS executables which have proven to
>>>work in 3.0.5? Which version and where do I get it from?
>>
>>
>>I've used WinCVS's cvs client without a problem.
>>
>>http://www.wincvs.org/
>>Stable 1.2 version is old but works:
>>
>>http://sourceforge.net/project/showfiles.php?group_id=10072&release_id=24467
>>
>>
>>The beta 1.3 version uses cvsnt:
>>
>>http://sourceforge.net/project/showfiles.php?group_id=10072&release_id=177473
>>
>>
>>Ciao,
>>Gordon
>>