Xcode error during diff operation
Xcode error during diff operation
- Subject: Xcode error during diff operation
- From: Doug Hill <email@hidden>
- Date: Tue, 09 Aug 2016 14:49:07 -0700
I'm trying to diff some modified files in the Xcode file tree view using the Version editor. Sometimes when I click a file in the file viewer, I get an error alert from Xcode:
"The source control operation failed because no repository could be found.
Make sure a valid repository exists at the specified location and try again."
And I see this in the Console:
================
com.apple.dt.Xcode.sourcecontrol.Git[60382]: #DVTSourceControl Notice: Error with libgit operation (git_tree_entry_bypath(&treeEntry, tree, [relativePath.gitNormalizedString cStringUsingEncoding:NSUTF8StringEncoding]))
Method: -[DVTSourceControlGitPlugInPrimary _libgit_exportFile:inWorkingCopy:fromRevisionLocation:toDirectory:completionBlock:]
Xcode[91757]: #DVTSourceControl Error: -200 The source control operation failed because no repository could be found.
Underlying Error: the path 'Cube' does not exist in the given tree (-3)
Method: __101-[DVTSourceControlManager exportFile:inWorkingCopy:fromRevisionLocation:toDirectory:completionBlock:]_block_invoke_2
================
Yet the file is under source control and I see an 'M' icon next to the file in the file tree pane. And I can do git operations on this file from the command in Terminal. git log, git status, git diff all return real and useful information.
My plan is to write up a bug on Xcode but wanted to see if this is a known issue.
Version 7.3.1 (7D1014)
Doug Hill
_______________________________________________
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