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

Re: Xcode user - project.xcodeproj file in repository

From: Hal M. Staniloff <hal_at_iflybeechcraft.com>
Date: Fri, 5 Mar 2010 11:38:02 -0500

Yup, that's what I thought. I was trying to do the add, then the commit, then I guess I need to update my working copy with the latest revision of that file in my working directory. I was trying the following with difficulty:

$ svn add hstaniloff.mode2v3 file:///Users/Shared/Subversion/Events/trunk/Events.xcodeproj --auto-props
A hstaniloff.mode2v3
svn: 'file:///Users/Shared/Subversion/WaypointUAEvents/trunk' is not a working copy
svn: 'file:///Users/Shared/Subversion/WaypointUAEvents/trunk' does not exist
$ svn list file:///Users/Shared/Subversion/Events/trunk/Events.xcodeproj
project.pbxproj
$

Any help with the syntax is appreciated. Thanks!

/Hal

On Mar 5, 2010, at 11:04 AM, Bob Archer wrote:

> If the file is in the existing working copy folder (not your repository folder I hope) then you should do an svn add then svn commit rather than an import.
>
> BOb
>
>
> From: Hal M. Staniloff [mailto:hal_at_iflybeechcraft.com]
> Sent: Friday, March 05, 2010 10:55 AM
> To: users_at_subversion.apache.org
> Subject: Xcode user - project.xcodeproj file in repository
>
> Hello;
> I'm new to Subversion and started using it with Xcode under OS X.
>
> Symptom:
> 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.
>
> Background:
> 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?)
>
> Task:
> 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!
>
> Thanks!
>
>
> /Hal
>
>
Received on 2010-03-05 17:38:41 CET

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