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
Is XCode 3 SCM more dysfunctional than ever or am I doing something wrong?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Is XCode 3 SCM more dysfunctional than ever or am I doing something wrong?
Subject
:
Is XCode 3 SCM more dysfunctional than ever or am I doing something wrong?
From: Jeff DuMonthier <
email@hidden
>
Date: Sun, 25 Nov 2007 11:01:46 -0500
I recently jumped from OS 10.3.9/XCode 1.5 to OS 10.5.1/XCode 3.0 and I'm trying to get a project that used to work back up and running, which is turning out to be a challenge.
The project used to be under SCM with subversion via SSH. I did figure out how to define the repositories using SCM->Repositories and it connects to them with no problem. Checking out files from the repositories and doing manual updates using XCode works, but getting it to maintain and update status is not going well. I've read some previous messages here about project hierarchies and repository roots having to be correct, but didn't understand what that meant, so I'll describe what I have:
The project folder and under it the project and a couple of folders containing source and resources are checked out of one repository. I've checked out a couple of folders (hierarchies) containing source from two other repositories at the same level as the project in the working project folder. The url's I specified for the three repositories defined via SCM->repositories only goes to the root level of the repositories, not the level of the folders/hierarchies I checked out. The repository menu under the project info is set to the repository the project is checked out from. The build folder is not under SCM.
Now I'll try to go through some of the problem behaviors I don't understand.
1. When I first start up XCode, open the project and select SCM->SCM Results, the project and the hierarchy that comes with it from the project repository is shown correctly in the top half of the window. I see an M next to the project there and under groups and files indicating it has been modified. However, the folders I have checked out from two other repositories appear in the SCM status window as two generic file icons with question marks for status. Choosing SCM- >Refresh Entire Project has no effect.
2. If I select one of the files from the the hierarchies checked out from a repository other than the project repository and choose SCM- >Get SCM Info, it will show me my commit comments from changes to that file, but the state field in the SCM info will be 'No Value'. The buttons at the bottom for Update, Compare, Diff and Annotate are all grey.
3. If I reopen SCM->SCM Results after #2, the generic file icon for the hierarchy of the file I just examined the SCM info of will have changed to a folder and the file and any subfolders leading to it will be there. However, all the rest of the files/folders in that hierarchy will be missing (in the SCM results window).
4. If I choose SCM->Get Annotation For->Latest with the same file selected in Groups & Files as before, I will see them. If I try to choose SCM->Get SCM Info at that point it will be grey. Selecting a different file and then the previous file in Groups & Files will bring back the SCM->Get SCM Info option and choosing it will show the correct state of the file now. SCM->Update To->Latest will also work. For some reason SCM->Compare With->Latest rarely seems to be an available option. Anyway, this shows that XCode is able to verify the status of a file from a repository other than the project repository when an SCM operation is requested on it manually.
5. If I modify files from repositories other than the project repository, I will see M's appear in the status column for them. Selecting them in Groups & Files and choosing SCM->Get SCM Info will show a status of 'Locally Modified', which is correct. Doing that for unmodified files will show a status of 'No Value'. That indicates changing the files triggers an SCM operation.
6. I saw a behavior before where choosing SCM->Discard Changes for one modified file would cause the 'M' status to disappear from all modified files, but was unable to duplicate it just now. Some or all of he M's could be brought back by triggering a comparison on a particular file manually.
7. Selecting a group of files in Groups & Files and choosing SCM->Get Annotations For->Latest seems to force it to update the status of all of those files, however, if one of them has been modified the M will not appear in the status column until I select that file individually and choose SCM->Get SCM Info.
So, in summary, it appears that XCode is correctly monitoring the status of the project and probably files in the hierarchy checked out of the project hierarchy with it. However, status is not maintained for hierarchies checked out of repositories other than the project repository except on a per file basis when SCM operations are triggered manually. Then it works. SCM->Refresh Entire Project does nothing for files not in the project repository. As far as I can see, there is no convenient option to manually force an SCM status refresh on hierarchies or even groups of files. It requires a 2 step process of forcing an SCM operation (SCM->Get Annotations For->Latest seems to be the most benign) then doing SCM->Get SCM Info for each file individually.
Am I doing something wrong in my setup or hierarchy to cause this? At this point the command line tool is more functional for most of the files I am working with.
_______________________________________________
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
Follow-Ups
:
Re: Is XCode 3 SCM more dysfunctional than ever or am I doing something wrong?
From:
David Dunham <email@hidden>
Prev by Date:
Re: Xcode deployment
Next by Date:
Re: Local variables missing in Xcode 3 debugging
Previous by thread:
Re: Local variables missing in Xcode 3 debugging
Next by thread:
Re: Is XCode 3 SCM more dysfunctional than ever or am I doing something wrong?
Index(es):
Date
Thread