Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4 (Assembla) SVN Repository "Unable to load revisions"

I've been trying unsuccessfully to connect to an https assembla svn repository with the new xcode 4 IDE for an iPhone project I'm working on.

I was able to connect just fine with the last version of xcode (3?), and with other svn apps. I'm using the same repo address and credentials, so I'm baffled as to why this doesn't work.

I also tried loading in a working copy of the repo, and it cannot connect either.

The one error message that comes up is "Unable to load revisions"

Any tips?

like image 277
Le_isms Avatar asked Mar 15 '11 09:03

Le_isms


3 Answers

There are a lot of links, but no solution posted directly here, so I'll do it.

The reason Xcode4 does this is that it tries to log you into the SVN server with your mac credentials. When that fails, it basically just hangs and fails. The best solution I've seen so far is this:

open a terminal

If you don't have the project out do this:

>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT

It will then ask you for password for the mac username, you just write anything or nothing and press enter.

it will then fail and ask you for a username. Enter the correct one and then the password when it asks.

The project will be checked out, but you can just close the terminal window and delete the folder again if you want. Xcode4 will now connect without a hitch. :)

like image 155
Nicki Avatar answered Oct 01 '22 05:10

Nicki


Try this: http://forum.assembla.com/forums/2-Subversion/topics/2881-SVN-don-t-remember-my-credentials#post_9172

This helps me with same issue

like image 21
Petr Avatar answered Oct 01 '22 05:10

Petr


I experienced the same problem when opening a project I had previously checked out using another SVN client (Versions). So I fired up Wireshark to look at the SVN traffic and saw that it was an HTTP authentication problem.

I opened up the Xcode Organizer window (Shift-⌘-2) and deleted the autogenerated repository bookmarks. Then I added my own fresh bookmark. That fixed it.

You could also try deleting the repository bookmark in the organizer and just reopen the project. That seemed to work for another of my projects. It asked me for my password and everything started working.

And don't forget to tell the organizer the paths to trunk, branches and tags. It can't guess those from a local checkout, and setting them up will enable you to do branching, merging and tagging from within Xcode 4.

It is probably worth noting that Xcode 4 crashed on me about 5 times during this process. I think it is still early days for the new and improved SCM integration. So good luck!

like image 32
Heiberg Avatar answered Oct 01 '22 04:10

Heiberg