Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git merge conflicts not showing #112713

Closed
souvikbiswas1998 opened this issue Dec 17, 2020 · 9 comments
Closed

Git merge conflicts not showing #112713

souvikbiswas1998 opened this issue Dec 17, 2020 · 9 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@souvikbiswas1998
Copy link

souvikbiswas1998 commented Dec 17, 2020

Issue Type: ### Bug

SCM panel not showing the conflict files.

@vscodebot
Copy link

vscodebot bot commented Dec 17, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@AlphaJuliettOmega
Copy link

@souvikbiswas1998 can you give more symptom information?

Yesterday when I had to merge, when I clicked on the blue highlight 'merge conflict' files, it wouldn't open them, but because they're highlighted I could switch from Source Control tab to Project Files tab, and could then select the file from there.

Files that were irregular (I had 10 png's and 8 ttf fonts) didn't want to open at all until the merge was complete.
My merge was a Folder rename.

My side it could be to do with the bug of VS Code not letting go of files after closing, but that doesn't explain Merge Conflict files not being open-able.

@zhengyn0001
Copy link

image
I merged the code,and the screen showed that has merge conflicts,but i can't see any conflicts message
image

@zhengyn0001
Copy link

mainThreadExtensionService.ts:65 [[object Object]]Should never happen
$onExtensionRuntimeError @ mainThreadExtensionService.ts:57
_doInvokeHandler @ rpcProtocol.ts:396
_invokeHandler @ rpcProtocol.ts:330
_receiveRequest @ rpcProtocol.ts:269
_receiveOneMessage @ rpcProtocol.ts:208
(anonymous) @ rpcProtocol.ts:90
fire @ event.ts:525
fire @ ipc.net.ts:449
_receiveMessage @ ipc.net.ts:785
(anonymous) @ ipc.net.ts:642
fire @ event.ts:525
acceptChunk @ ipc.net.ts:191
(anonymous) @ ipc.net.ts:191
t @ ipc.net.ts:925
emit @ events.js:223
addChunk @ _stream_readable.js:309
readableAddChunk @ _stream_readable.js:290
Readable.push @ _stream_readable.js:224
onStreamRead @ internal/stream_base_commons.js:181
mainThreadExtensionService.ts:66 Error: Should never happen
at D.getRightResource (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at D.getResources (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at C.get resources (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at C. (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at C.get leftUri [as leftUri] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at D.resolveChangeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at D.resolveDefaultCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at C.get command [as command] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824
at Array.map ()
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824
at Array.map ()
at w._takeResourceStateSnapshot (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:824)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:828
at Set.forEach ()
at y.eventuallyUpdateResourceStates (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:828)
at Timeout._onTimeout (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:8)
at listOnTimeout (internal/timers.js:531)
at processTimers (internal/timers.js:475)

@souvikbiswas1998
Copy link
Author

souvikbiswas1998 commented Dec 21, 2020

@AlphaJuliettOmega

This is the snapshot of the problem.

image

the conflicts files are mentioned below:

image
and many more...

@infinnie
Copy link
Contributor

infinnie commented Dec 22, 2020

@infinnie
Copy link
Contributor

The should never happen error, as displayed in the screenshot, comes from

https://github.com/microsoft/vscode/blame/0c947cb4ee4a35f04aa6c5117a9727be35b3c828/extensions/git/src/repository.ts#L680

Even though we’re only trying to access the leftUri in a rename/delete conflict, the getRightResource() method is nevertheless called, which throws the error.

infinnie referenced this issue Dec 22, 2020
…experience (#110733)

* wip: try to use vscode.open and vscode.diff in git/scm

related to #110397

* 💄

* revert change to commands.converter.toInternal

* complete usage os vscode.open and vscode.diff in git extension
@eamodio
Copy link
Contributor

eamodio commented Jan 5, 2021

Duplicate of #112537 (which will be fixed in tomorrow's insiders)

@eamodio eamodio closed this as completed Jan 5, 2021
@eamodio eamodio added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 5, 2021
@AlphaJuliettOmega
Copy link

@eamodio that's epic, thanks for cleaning up.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants