Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9.1 source control: failed to load revisions

I'm using Xcode Version 9.1 (9B55), and it appears that my Comparison Editor is broken. I'm using Git in my project. When I try to turn Comparison Editor on I get following error:

The source control operation failed because the revision “XXXXX” could not be found.

Here is the screenshot of the Xcode interface:

enter image description here

My question is: has anyone of you experienced that and solved it? If so, what is the solution?

Answering possible comments in advance: Git from command line is working as usual, I don't have any external source control editor open while trying to open comparison editor.

like image 598
Wladek Surala Avatar asked Nov 07 '22 13:11

Wladek Surala


1 Answers

Had the same issue myself. For me, what worked was trying to commit a file via Xcode's source control menu. When I tried to do that, I came across an error saying it was unable to access the git/attributes file on the .config folder on my Mac's user's folder since the permissions were insufficient (have no idea why it changed all of the sudden).

Bottom line: This helped me: Unable to access 'git/attributes'

like image 69
zaltzy Avatar answered Nov 15 '22 10:11

zaltzy