Re: Xcode, SCM and External Editors - Not picking up changes?
Re: Xcode, SCM and External Editors - Not picking up changes?
- Subject: Re: Xcode, SCM and External Editors - Not picking up changes?
- From: Andrew Pontious <email@hidden>
- Date: Tue, 19 May 2009 11:25:40 -0700
On May 19, 2009, at 10:50 AM, Markus Hänchen wrote:
Hi,
do I see it right that when using SCM from within Xcode and using an
external editor, Xcode will NOT notice any changes made to a file in
said external editor and thus will not allow you to see which files
have been modified since the last commit/update? And it will also
not allow you to commit these files (unless you modify them again
from within Xcode)?
You are right that Xcode may not notice changes made in other editors.
Instead of modifying the files again, you could do a project-wide
refresh. SCM -> Refresh Entire Project. That will update Xcode's SCM
information, so you should see the modified files in Xcode, and then
can commit them from within Xcode.
My idea for a workaround (using svn) is to use another svn client
(Versions.app) and point it to the same repository and working copy.
This seems to work but I am not sure whether this is asking for
trouble? And it somehow negates the usefulness of the SCM inside
Xcode.
(Xcode 3.1.2, OS X 10.5.7, svn 1.4.4 in /usr/bin, svn 1.5.5 in /usr/
local/bin, alias for svn & svnadmin to /usr/local/bin, Versions is
set to use it its built-in 1.5.4 client, the repository is on a
commercial host and uses 1.5.x, no idea what svn version Xcode is
using, I fear 1.4.4 thus using Version's 1.5.4 client might chew up
my working copy...)
Xcode uses whatever is built into Mac OS X. There have been previous
emails about how to update OS X's Subversion libraries, which is what
Xcode uses (it does not use the command line Subversion utility). This
is not officially supported by Apple, but has worked pretty well for
people.
-- Andrew _______________________________________________
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