Re: moving files into groups which match the filesystem
Re: moving files into groups which match the filesystem
- Subject: Re: moving files into groups which match the filesystem
- From: Quincey Morris <email@hidden>
- Date: Thu, 25 Feb 2010 10:35:29 -0800
On Feb 25, 2010, at 10:03, Keary Suska wrote:
> Have you tried using the repository management interface in Xcode? I think it will do most of what you want. The only thing it won't do is associate your groups with a filesystem path, which AFAIK you have to do manually. But that only matters for files you want to add to those groups.
Speaking from experience, I'd say you *really* don't want to just move (repository) files around in the Repository window. My experience has been that the project itself is *not* kept in sync with such changes -- though of course I may have just been Doing It Wrong™ -- and figuring out how to get the project back into a working state is hours of hair-tearing frustration.
I think the safe way to do it is to remove the files from the Xcode project (and tell Xcode to move them to the trash, but *not* remove them from the repository). Then commit that change. Then use the Repository window or a Subversion client to adjust the repository (create a new subdirectory and move the files in there). Then check out fresh copies of the moved files into the correct place in the local directory hierarchy. Then add the files back into the project.
I've never found any successful way to make a change like this without first removing the affected file references from the project. Maybe someone knows a way and will speak up.
AFAICT, the problem is that if you manage to leave Xcode with old references to moved/deleted files in the invisible .svn directories, you're stuck. You can no longer get rid of the references, because references are manipulated only indirectly through the files (which no longer exist in the old places), and Xcode will keep complaining about the broken references.
_______________________________________________
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