Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aea

macrumors 6502a
Original poster
May 23, 2007
838
208
Denver, Colorado
Hope the title got your attention, I'm currently a bit frustrated with trying to get the SCM/SVN feature to work.

So a repository is setup, I can check out. I edit project settings to use the repository.

Now what?

I can't seem to find anyway to add new files or update consistently. Sometimes I'll have a drop down under a file to "commit" or "add," while other times I won't. My SCM menu sometimes is pretty large, sometimes it has only three options on the same project, SCM is configured under project settings and connects fine.

What is gods name is going on? Local SVN version is 1.4.4, server is running the same. I also get the (infamous?) 155005 error about some file not being locked.
 

Sayer

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
Yes Xcode is notoriously bad with SCM integration. I use a dedicated SCM app to manage projects at work, or just do it on the command-line. Then in Xcode I barely use commit to get changes into the repository.

Because I do a lot of network-related work I often unplug the Ethernet cable to plug in a networking device and Xcode throws a fit; sliding down endless sheets telling me that the SCM server can't be reached - gee thanks!

Xcode seems to be evolving rapidly, but in unexpected directions (the new "Platforms" and Snapshots features are great, but what about real SCM?).

My advice is: get a dedicated SVN app to manage the actual projects, and in Xcode just stick to committing changes and when it flakes, go back to the dedicated tool.
 

Littleodie914

macrumors 68000
Jun 9, 2004
1,813
8
Rochester, NY
Yea, SVN or any other SCM (Source Code Management) method in Xcode is a joke. Download the new beta of Versions for Mac and use that to manage your code instead. :)

Just remember to leave your build directory out of the repo! This will cause problems otherwise, and will take up unnecessary space. :D
 

lazydog

macrumors 6502a
Sep 3, 2005
709
6
Cramlington, UK
Download the new beta of Versions for Mac and use that to manage your code instead. :)

Yup, I would recommend Versions as well. Been using it a bit now and I really like it. My only criticism is that it cannot handle Pages documents. I know it's not really a fault of Versions as such but down to the way Subversion handles directories. Still, it would be great if they could get round this problem!

b e n
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.