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