• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 3 SCM Repository- configure CVS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 3 SCM Repository- configure CVS?


  • Subject: Re: XCode 3 SCM Repository- configure CVS?
  • From: Jeffrey Wilson <email@hidden>
  • Date: Mon, 3 Dec 2007 09:38:02 -0500

On Nov 29, 2007, at 11:28 AM, Jeffrey Wilson wrote:
On Nov 29, 2007, at 11:19 AM, Fritz Anderson wrote:
On 28 Nov 2007, at 8:41 PM, Jeffrey Wilson wrote:

I am trying to get my XCode project to recognize a CVS repository for an open source program over at berlios.de.  I was able to connect using "pserver" in the "Method" field.  While I can connect using my name and password (repository uses ssh2), and checkout the repository, I cannot configure my project to use the SCM Repository (only options are "None" and "Configure SCM Repositories...").  Thoughts?

In the vein of "is it plugged in," have you told the project (via Get Info on the project line in the Groups & Files list, General tab, SCM Repository:) that it is associated with a repository?

I guess I was not entirely clear.  My SCM Repository list (in the General tab) does list my CVS repo, but it is grayed out.  The only (selectable) options are "None" and "Configure SCM Repositories...".  So, XCode is not letting me associate the project. 

The other examples you give, of project documents checked out from the repositories they use, may work because the maintainers pointed the projects at the repositories already.

For those projects, I still had to "plug in" the connection in the SCM Repository list.

Are there some other hoops that I have to go through for CVS repos?

Well, I have made some progress.  It seems as though the CVS repo needs to have a XCode project in it for this to work.

I checked out the repo.  I created a local "macosx" directory in the repo.  Then, I created a new XCode project within that macosx directory.  To my project, I added the OSS code from the parent directory.  Then, I Exported my macosx directory back to the OSS repo.  Note, this requires write access to the server that has the repo!

Next, I re-checked out the full repo (to a new directory) and opened the XCode project in it. Now, I am able to select the CVS repo from the SCM Repository list.  Woohoo!

But wait!  My modifications to the OSS code are not being tracked by SCM!  Only my XCode project files seem to be tracked.  (When I edit any code, SCM does not tag the files as being modified.  Updates from other people are also not being seen).  For example, if I right-click on the OSS code, I see "Add to Repository" as an option, while my *_Prefix.pch (obviously checked-in by me) does not have this option (and I can track its changes).

Do I have to add all the files to the repository, although they are already there?  This makes me nervous that I might screwup the repo.

Jeff
 _______________________________________________
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

  • Prev by Date: Re: "Stripped" executable still has symbols in it
  • Next by Date: Re: Hundred of C++ linker warnings in Xcode 3: odd but not fatal
  • Previous by thread: Re: "Stripped" executable still has symbols in it
  • Next by thread: Re: XCode 3 SCM Repository- configure CVS?
  • Index(es):
    • Date
    • Thread