Re: Discard Changes on project
Re: Discard Changes on project
- Subject: Re: Discard Changes on project
- From: James Bucanek <email@hidden>
- Date: Mon, 22 May 2006 15:56:39 -0700
Steve Mills wrote on Monday, May 22, 2006:
>When I reloaded my project, I knew made sure there were no changes to
>the .pbxproj file by doing a p4 diff, then selected the project name
>at the top of the list in the project window and hit SCM->Revert.
>
<clip>
>
>When it finally got done churning the SCM busy control in the project
>window, I went back to work, only to find that Xcode decided to
>revert ALL THE #$%^ING FILES THAT I HAD CHECKED OUT, NOT JUST TYE
>PROJECT FILE!!!! THAT's the bug I'm talking about.
I don't think this is a bug. As far as I can remember (and I don't have a project I can verify this at the moment, so take this for what it's worth), selecting the project icon mean "the project"; as in "the entire project". Any command that you perform on the "the project" will be performed on the entire project, just as if you had selected SCM > Commit Entire Project, SCM > Update Entire Project, etc.
In all of the Xcode documentation, they specifically point out that to affect just the .pbxproj file you must select just the .pbxproj file in the SCM smart group or the SCM Results before preforming the SCM action. The same applies to other logical packages, such as NIBs.
>You can see why I'm pissed.
I feel your pain. I remember one time spending an entire week merging two branches of a huge educational software project. I wrote this elaborate three-way diff script to make the final files automatically. Tested it six different ways until I was absolutely sure it would work ... and then ran it with the source and destination arguments reversed. Seriously considered taking up drinking as a hobby.
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
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