XCode 3 SCM not working (CVS and SVN)

  • Hi all,
    I have successfully defined some SCM Repositories in XCode. All went
    fine, browsing the repositories works.

    Now, when I try to enable SCM for a project, under Project XXX Info, I
    cant: I see the repositories on the drop down list, but they are
    grayed out and can't be clicked.

    Is someone else seeing this?

    Mark
  • On Oct 28, 2007, at 4:51 PM, Mark wrote:

    > I have successfully defined some SCM Repositories in XCode. All went
    > fine, browsing the repositories works.
    >
    > Now, when I try to enable SCM for a project, under Project XXX Info,
    > I cant: I see the repositories on the drop down list, but they are
    > grayed out and can't be clicked.
    >
    > Is someone else seeing this?

    First:  This is most appropriate for xcode-users, rather than cocoa-dev.

    That said, are the projects you're trying to enable SCM for actually
    working copies that were retrieved from your SCM system?  Xcode won't
    let you enable SCM for a project that isn't already under management,
    and neither Subversion nor CVS will "convert" a directory into a
    working copy as a side-effect of importing it.

    You should be able to check out a working copy from your SCM system
    using Xcode 3.0's new Repositories window, and easily enable SCM for
    that working copy.  Be sure to "check out" rather than "export," too;
    I've accidentally done the latter before and it had me stumped for a
    couple minutes as to why what i just grabbed had no SCM metadata in
    its directories.

      -- Chris
  • > I have successfully defined some SCM Repositories in XCode. All went
    > fine, browsing the repositories works.
    >
    > Now, when I try to enable SCM for a project, under Project XXX Info,
    > I cant: I see the repositories on the drop down list, but they are
    > grayed out and can't be clicked.
    >
    > Is someone else seeing this?

    OK, I figured out what was the problem: the XCode project file has to
    be place inside the CVS/SVN tree that was checked out from the
    repository. If it is not, the SCM drop down appears grayed.

    It doesn't really matter if the XCode project file is added or not to
    the SCM, but as I said it has to be placed somewhere in the checkout
    tree (it's probably looking for the hidden SCM directories - a.k.a.
    metadata).

    Thanks for the help.

    Cheers
    Mark
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today