SIGN IN SIGN UP

Fix local history commands when resource URI scheme is vscode-local-history (#306147)

* Initial plan

* fix: map vscode-local-history URIs back to original file URI in findLocalHistoryEntry

When the diff editor shows two local history versions, the active editor
URI uses the vscode-local-history scheme. findLocalHistoryEntry now converts
this back to the original file URI before querying workingCopyHistoryService,
matching the existing logic in provideTimeline.

Fixes microsoft/vscode#250469

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/aae53613-4b18-418c-867c-d650153ddbbf

Co-authored-by: bpasero <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: bpasero <[email protected]>
C
Copilot committed
c2016b08f5d48a676858f04907c2b1c10ab03a44
Parent: 8c61afa
Committed by GitHub <[email protected]> on 3/30/2026, 5:17:52 PM