Re: XCode, Subversion and Nib files
Re: XCode, Subversion and Nib files
- Subject: Re: XCode, Subversion and Nib files
- From: Mike Kobb <email@hidden>
- Date: Wed, 26 Jul 2006 22:15:25 -0700
Okay, well, that's sorta what I was afraid of. :-(
I've just submitted my first change with svnX. Seems decentish but a
bit clunky, so maybe the CLI is the way to go. I guess I'll file an
XCode bug for good measure.
Thanks a lot for your detailed reply. (Big fan of Adium, btw).
--Mike
On Jul 26, 2006, at 9:42 PM, Chris Forsythe wrote:
Hi Mike,
In general Xcode is pretty wonky when using SCM integration. I'd
suggest you not use it, and instead learn to use the CLI utility
(and possibly svnX when you require it, or some other ui tool). I
know this sucks, but it's the best way to not complicate things
from what I've found.
Anyhow, in general, you probably need to know these commands:
svn add
svn remove
svn info
svn st
svn move
svn up
svn up -r
svn blame
svn commit
svn merge
St is short for status. Everything else should be pretty self
explanatory.
Chris Forsythe
Growl Project Lead
Adium Project Manager
Mike Kobb wrote:
Hi,
I've seen some discussion of this topic in searching the
archives, but it seemed to be either old or inconclusive, so
please forgive me if I've missed something.
Here's my situation. I've been working with a developer of an
open source project to add a Mac front end to his previously
command-line tool. He uses Subversion source control.
I got the first version of the Mac project working, zipped it up
and sent it to him. He checked it into Subversion.
Meanwhile, I installed Subversion (I use Fink for other stuff, so
I just went ahead and got the Fink package).
This morning, I used the command-line svn tool to get latest
sources for the entire project (including "my" code), into a new
directory. I opened the resulting project file in XCode, and
turned on Subversion SCM support (pointing it at the correct /sw/
bin/svn binary).
Initially, everything looked good. If I open a source file and
edit it, I see an "M" show up in my project window, as expected.
If I edit my Nib, I also see the "M" appear. If I quit and re-
launch XCode, this status is preserved (after I deleted
MainMenu~.nib, on the advice of one of the threads I saw in the
archive!).
So, I moved on to the next phase of the project, which is to
begin localization. So, I selected my Nib file in the project
view, opened the info window, and added several localizations.
These all show up in XCode, but to my surprise they do not show
up with the "?" indicating that they are not under source
management.
Furthermore, if I click on one of these localizations and say "Add
to Repository", nothing happens. No status changes in the SCM
column, and no error message is displayed.
Am I doing something wrong here?
Thanks!
--Mike
_______________________________________________
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