Getting Started with Subversion

I am just getting started on a new project. I have files on my local desktop. Using Version Control (top menu) --> Import into SVN, I now have all those files in SVN. So that's good.

However, I am unable to figure out how I map my Subversion server to my local working directory. I am also unable to perform basic tasks like checkout. I have attached a file with two images so you can see for yourselves what is going on.

The first shows what is going on at the IDEA module level on my local computer.

The second shows what is going on in the SVN Repositories window in IDEA at the SVN server level.

Please let me know how I can make those disabled items available.

Thanks.



Attachment(s):
svn_images.doc
4 comments
Comment actions Permalink

Well, I saw I could check out the entire trunk, which I did. Then when I edit a file, I right-click on the file and select Subversion-->Update File. That seems to result in a "check-in." Is this correct? What is the difference between Update File and Integrate File?

Meanwhile, the Check In option remains disabled. I even tried installing what I think is the client, but I don't see where you tell IDEA where it is to leverage it.

Thanks.

0
Comment actions Permalink

I installed Tortoise, and that seems pretty cool. Still, I am unable to check things out, etc from within IntelliJ itself.

0
Comment actions Permalink

After you imported your project did you then checkout the project from Subversion?

Generally you import your project, delete the files you just imported, and then checkout the project from Subversion. You don't have to do anything to link your project to the Subversion server. All necessary information to link the working copy to the server is contained in the working copy (Subversion itself takes care of this with its .svn directories).

It is possible you may have to go to Settings->Version Control and select Subversion as your version control system. IntelliJ seems to auto-detect this for me now (I use 7.0 M2) but in earlier versions I remember having to tell it to use Subversion explicitly.

Is this the information you are looking for?

Message was edited by:
Michael Parmeley

0
Comment actions Permalink

Thanks, Michael. I should have mentioned that I am on 6.0.4. However, I did follow all the steps you suggested. Once I did the delete and checkout a couple of days ago, as you suggested, things started to click. As it turns out, I think everything is working right for me. It is just that the disabled options are simply options available for other VCS (e.g. VSS, etc.).

Thanks again.

0

Please sign in to leave a comment.