Re: Source-control: project out of sync with Git
Re: Source-control: project out of sync with Git
- Subject: Re: Source-control: project out of sync with Git
- From: Fritz Anderson <email@hidden>
- Date: Mon, 24 Mar 2014 15:40:08 -0500
On 24 Mar 2014, at 3:05 PM, Fritz Anderson <email@hidden> wrote:
[Something tripping up Xcode SCM that shouldn’t have happened]
> The result (or the result of my attempts to recover control) is that Xcode now thinks the project has two local repos, one at the correct path, the other at an obsolete one. The configure-repo window won’t let me delete the “wrong” repo’s branches.
>
> SCM-status badges are inconsistent. Sometimes incomplete, sometimes unstable. They show M for a cleanly-committed working copy. I know there’s a shared workspace config file to carry memory of source-control status, but it isn’t clear how to edit it, and deleting it doesn’t help.
>
> The Git command-line tools don’t see anything unusual.
>
> The Projects organizer doesn’t show the project at all. Deleting the derived-data directories (there were three, but I don’t see a problem with that)
Sorry: … had no effect.
Here’s what I found: There is a property list at:
~/.../MyProjectDir/MyProject.xcodeproj/project.xcworkspace/xcshareddata/MyProject.xccheckout
… with a dictionary keyed as IDESourceControlProjectRelativeInstallPathDictionary and an array keyed at IDESourceControlProjectWCConfigurations. Each had entries referring to both the “right” repo and the “wrong” one. (The difference was that one component of the two paths was capitalized differently, which makes me very suspicious.) In both locations, I commented-out the “wrong” one. The result seems to be stable.
Though it still doesn’t show up in the Projects organizer (Recents, yes).
— F
_______________________________________________
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