I have a modified working copy of an Xcode 5 project that was checked out from a remote svn server that is no longer available. How can I remove the working copy's svn association and have it not be under source control? (Eventually I want to create a git repository based on the working copy and push modifications to it.) I don't need to retain the svn history.
I've tried the obvious things to disassociate the svn server from the project (such as deleting the .svn directories in the working copy as well as doing a grep -r
search on the svn server's name through all the files in the working copy directory tree), but the project remains associated with the svn server. I'd prefer to do this switch directly with the working copy, rather than risking trying to create an empty "working copy" that is not associated with the svn server and then transferring files one-by-one from the current copy. Tools like svn-git aren't feasible as both the svn server isn't available and my working copy contains significant modifications. Help...?
I was facing a similar problem just now, I have moved my git from github to gitLabs. However that means the previous repo information is still in my project.
So what I discovered was when I have added my gitLab repo into Xcode, SourceTree showed that one file was modified. Surprise, this is the file that keep records of all your Working Copies servers.
Just navigate to "Your Project".xcodeproj > (Right Click & Show Package Contents) > project.xcworkspace > (Right Click & Show Package Contents) > xcSharedData > "Your Project".xccheckout
Right Click on the file and select Open with, and click on "More..". Use your preferred Text Editor to edit the XML inside, or you can always use the trusty TextEdit.
Your old git/svn servers are probably at the bottom, encased in <dict></dict>
. Just remove em and reload your project in Xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With