Re: Adding existing svn files to new project
Re: Adding existing svn files to new project
- Subject: Re: Adding existing svn files to new project
- From: Brian Zwahr <email@hidden>
- Date: Mon, 24 Aug 2009 09:41:19 -0500
I have tried every tutorial I've found, which is quite a few,
including the Apple docs and help files. Can you remember how you
changed the subversion client used by Xcode?
I'm surprised that Xcode only supports SCM for parent project folders.
That seems unwise. Example: what if there were some classes/files in
one svn repository, other classes/files in another repository, etc.,
and all of them were to be used in a new project? Currently, you
couldn't get working copies of each repository and use them in a
project, then be able to handle SCM for each one inside Xcode. Sad,
but I think I might see if I can find out anything about upcoming
Xcode releases or see if I can place a feature request with Apple.
If anyone else knows a way to use version control in Xcode without
having the entire project under version control, please let me know!
Also, if anyone knows how to set the subversion client to use (seems
to default to /usr/bin/svn, and I see no way of changing this) please
let me know.
Thanks!
On Aug 21, 2009, at 10:49 PM, Joar Wingfors wrote:
On 21 aug 2009, at 13.20, Brian Zwahr wrote:
Also, I noticed that you can't select the svn client like many of
the tutorials/help files online show. However, through testing, it
seems that Xcode just always uses /usr/bin/svn, even if that's not
the default svn (i.e. 'which svn' shows a different path).
I have been able to change the version of SVN that my Xcode 3.1.x on
Leopard is using. I don't remember which tutorial I used now, but
perhaps you need to look around a bit more?
I tested creating a new project and adding the whole project to a
blank svn repository. This resulted in me getting information and
results with SCM in Xcode. However, I'm still unable to have a
project that is just on my laptop (not in version control), add
files to the project that have been checked out from subversion,
and get SCM to work. Is this even possible? It seems unnecessary to
have to have the entire project folder in version control to be
able to have any part of the project able to give SCM information.
Xcode 3.1 only supports selecting parent folders of the project.
Most people would have the project in SCM for the same reason they
have source files in SCM, and I would assume that's why that use
case isn't directly supported by Xcode 3.1. If you think that this
is an important feature, please file a feature request. It's always
possible that this works differently in the version of Xcode that
ships with Snow Leopard, so if you have access to Snow Leopard
seeds, you might want to check with the version first.
On Aug 21, 2009, at 12:05 AM, Brian Zwahr wrote:
I checked out a folder named "application" from my work's
subversion server to the desktop. I then created a new project
named "test" on the desktop. When I Get Info (command-I) on the
project, I see the "Root" property. It is not set to anything by
default. When I select it and navigate to my desktop, I can only
select the "test" folder. The "application" folder (from
subversion) is not selectable (greyed out, not clickable).
Again, am I missing something or doing something wrong?
On Aug 20, 2009, at 9:34 PM, Joar Wingfors wrote:
If you haven't done this already:
Open the project inspector. Under the General tab, set the "Root"
property to the source folder.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden