[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: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 5 Mar 2010 11:43:35 -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
> $
>

All you should need to do is:

cd /working-copyfolder

Do you understand the difference between a repository and a working copy? If not, you really should read the first few chapters of the svn book to understand the basic teminology. It helps greatly when discussing stuff on the list that everyone knows what repository and working-copy mean.

Once you are in your working copy you just do:

svn add .
or
svn add path/to/file

then

svn commit -m "initial check in"

That should do it. You don't need to specify the repository path when you do an add... svn already knows the information from the metadata in the .svn folders of your working copy.

BOb
Received on 2010-03-05 17:43:09 CET

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