Skip to content

'Gitlens: Open Changes with Revision...' results in error #2012

@luisaceituno

Description

@luisaceituno
  • GitLens Version: v12.0.7
  • Git Version: git version 2.35.2.windows.1
  • VSCode Version: 1.67.2 (user setup)
  • OS Version: Windows 10 Pro (Build 19042.1706)

Steps to Reproduce:

  1. Open git repository folder with VS Code having GitLens installed
  2. Open a file
  3. Ctrl+Shift+P > Gitlens: Open Changes Revision... > Choose a Branch or Tag...

Expected: a list with branches/tags is displayed for selection.
Actual: Error notification is displayed
image

Log from the Ouput panel (GitLens):

[2022-05-30 14:18:16.117] DiffWithRevisionCommand
RangeError: Value need to be finite number for Intl.RelativeTimeFormat.prototype.format()
[2022-05-30 14:18:16.117] ShowMessage(error, 'Unable to open compare. See output channel for more details', undefined, null)
[2022-05-30 14:18:16.150] [  2e3] KeyboardScope.dispose[4] completed • index=3 • 32 ms
[2022-05-30 14:18:19.188] ShowMessage(error, 'Unable to open compare. See output channel for more details', undefined, null) returned Open Output Channel

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions