5734 CVS - Lockup while Testing Connection
5734, CVS, Windows XP SP2.
Clean install, no SVN (since that doesnt work with IDEA on anything other than http://).
So I tried to add a local CVS repository.
:local
repo lives at D:\Data\CVS\CVSROOT
Click 'Test Connection'
IDEA never returns.
Clicking 'cancel' in the 'Test Connection' dialog does nothing except gray out the button.
SCC is a mess. I cant believe this is the RC build.
Message was edited by:
Nick Pratt
Uploaded a thread dump to FTP.
5734_CVS_Lock.txt
Please sign in to leave a comment.
Hello Nick,
NP> Clean install, no SVN (since that doesnt work with IDEA on anything
NP> other than http://).
I'm using subversion with both svn:// and svn-ssh:// with no major issues.
Maybe you can give some more details as to what does not work...
Andrei
I can work with SVN with file:///, svn:// and https://. I only can't work with http:// because network's problem.
Hello Nick,
NP> 5734, CVS, Windows XP SP2.
NP>
NP> Clean install, no SVN (since that doesnt work with IDEA on anything
NP> other than http://).
NP>
NP> So I tried to add a local CVS repository.
NP> :local
NP> repo lives at D:\Data\CVS\CVSROOT
NP> Click 'Test Connection'
NP> IDEA never returns.
NP> Clicking 'cancel' in the 'Test Connection' dialog does nothing
NP> except gray out the button.
What is the version of cvs.exe installed on your machine? What happens if
you enter "cvs server" on the command line?
NP> SCC is a mess. I cant believe this is the RC build.
Any more details besides this issue? This particular one is not a new problem
by any means.
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Maybe you're interested in a true "offline experience" http://www.intellij.net/forums/message.jspa?messageID=5162727#5162727
I have file:, svn: and http: worknig fine for me. The only scheme I didn't try was svn+ssh:
Ok, so last time I checked I wasn't an idiot. That might have changed recently. Who knows. Right, so if some of you can get SVN to work with protocols other than http://, would you mind assisting me in getting file:/// to work?
1.) Are you using Windows? If so, what version, SP?
2.) What version of SVN are you using? What did you install (just the SVN install, or tortoise SVN - again, what version).
3.) Where is your repo living? What URL do you use from within IDEA to access it?
4.) How did you put your project into SVN such that IDEA will recognize it as a source code controlled project?
Ive spent, quite literally, hours on trying to get this to work. Different SVNs, different protocols. I had no issue in getting an http:// connection to work over the web. I couldnt for the life of me get file:/// and then svn:// to work. I have managed to get a svn:// repository browse to work from within IDEA (never got anywhere with file:///), but I couldnt get IDEA to accept that the project was under source code control (all file names were brown, not black/blue/green as is normal). When I tried to add to repository, IDEA said "sure", but then the repo issued errors saying the files were already in there.
This would not be classed as developing with pleasure.
I tried with two versions of CVS
1.11.22 (latest 1.11 build I could find last night) and an older version 1.11.1
issuing "cvs server" gets me this:
C:\>cvs server
Unknown command: `server'
Nick
Hello Nick,
NP> Ok, so last time I checked I wasn't an idiot. That might have
NP> changed recently. Who knows. Right, so if some of you can get SVN to
NP> work with protocols other than http://, would you mind assisting me
NP> in getting file:/// to work?
Let me tell you about my own setup, which is working just fine right now.
NP> 1.) Are you using Windows? If so, what version, SP?
I'm on Windows XP SP2.
NP> 2.) What version of SVN are you using? What did you install (just
NP> the SVN install, or tortoise SVN - again, what version).
Right now I have svn 1.2.0 installed. I don't have TortoiseSVN.
NP> 3.) Where is your repo living? What URL do you use from within IDEA
NP> to access it?
The repository lives in:
C:\svn
The URL I used to check out the files from IDEA is:
file:///C:/svn
One important note: the repository must be in fsfs format.
NP> 4.) How did you put your project into SVN such that IDEA will
NP> recognize it as a source code controlled project?
I checked out the sources from IDEA using "Version Control / Check out /
SVN". I then created a module for the checked out files and set its version
control to Subversion in Settings | Version Control.
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Nick,
NP> I tried with two versions of CVS
NP> 1.11.22 (latest 1.11 build I could find last night) and an older
NP> version 1.11.1
NP> issuing "cvs server" gets me this:
NP>
NP> C:\>cvs server
NP> Unknown command: `server'
The hang on incompatible CVS versions will be fixed soon. You can watch http://www.jetbrains.net/jira/browse/IDEADEV-9067
to get notified when the fix is ready.
To get local CVS to work, please use cvs.exe from either WinCVS or cvsnt.
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Nick, any chance you're using svn 1.4 to create your repositories? svn 1.4 preserves compatibility over http, but breaks local clients. Also, for file: access, your repositories must be using fsfs. bdb isn't supported.
Thanks for the info.
The only thing that Im doing different is the last step - im trying to get IDEA to apply SCC to an existing project. ill try throwing it away, although Im fairly sure I tried this last week.
Also, SVN will not "update" (via an http:// URL) an existing working copy. It always fails with an error message. Running "export" works fine. However, this tends to screw up the working copy, so I end up having to delete the entire tree, project files etc., and rebuilding every time I want to update to the HEAD revision.
Ive tried 1.3.1, 1.3.2 and 1.4.0. (I noticed they changed the repo format in 1.4, so i figured Id stay away from that, but tried it anyway)
Hello Nick,
NP> The only thing that Im doing different is the last step - im trying
NP> to get IDEA to apply SCC to an existing project. ill try throwing it
NP> away, although Im fairly sure I tried this last week.
The common procedure of applying SCC to an existing project is the same for
CVS and Subversion: you import the sources from one location, then you check
out to a different location (so that CVS/svn admin directories are created)
and continue working in the new location.
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Windows XP Professional with SP 2
SVN 1.3.2 (just unzip and set path, don't install exe)
Tortoise SVN 1.3.5.xxxx
Repo: D:\Works\svn\repos\Test
URL: file:///D:/Works/svn/repos/Test
I usually use Tortoise SVN to import to repo ('cause I don't want to import workspace file). But I tried to import directly from IDEA via file:///, it works well.
I think your problem is here. After import project to repo, you must delete current project (or move it to another place)then checkout it from SVN.