[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Xcode user - project.xcodeproj file in repository

From: Hal M. Staniloff <hal_at_iflybeechcraft.com>
Date: Fri, 5 Mar 2010 10:54:30 -0500

I'm new to Subversion and started using it with Xcode under OS X.
I'm getting this Xcode error when my environment changes and I try to commit the .xcodeproj file to my repository in XCode (my project file will show the 'M' flag once in while).
"...projname.xcodeproj/myusername.pbxuser' is not under version control."
Error: 150000 (Can't find an entry) Description: Commit failed (details follow):
Error: 150000 (Can't find an entry) Description: '/Users/hstaniloff/Documents/iPhone Development/Events/Events - scmworkingcopy/Events.xcodeproj/hstaniloff.pbxuser' is not under version control.
If I commit the entire project, I don't get the error. Weird.

I understand about modifying the .subversion/config file to ignore .mode, .pbxuser and .perspective files. At first, I hacked the file to include these files in the global-ignores section. I enabled-auto-prop=yes and included these guys as well:
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.mode* = svn:mime-type=text/X-xcode
*.pbxuser = svn:mime-type=text/X-xcode
*.perspective* = svn:mime-type=text/X-xcode
*.pbxproj = svn:mime-type=text/X-xcode
But since it's just me on my machine, I want to include *.pbxuser *.mode* and *.perspective* in my repository for my .xcodeproj package file. So I removed the entries I made for mode, .pbxuser and .perspective in my ~/.subversion/config file but left the auto-prop entries. (Comments on this?)

It would seem that I need to add the .pbxuser and the .mode* files that appear in the projectname.xcodeproj package to my repository but I'm having problems with the procedure/syntax. Here's what I've tried in Terminal:

$ svn import hstaniloff.mode2v3 file:///Users/Shared/Subversion/Events/trunk/Events.xcodeproj -m "Include these files now." --auto-props --depth files
svn: Path 'file:///Users/Shared/Subversion/Events/trunk/Events.xcodeproj' already exists

All I'm trying to do is import a file in to the directory within the repository - which will do the commit - then update my working copy of my .xcodeproj and I'm struggling with the syntax.
Any help would be appreciated!


Received on 2010-03-05 16:55:07 CET

This is an archived mail posted to the Subversion Users mailing list.