Skip to content

Perforce doesn't show the diff when doing diff with particular revision of file #295

@Rohithn14

Description

@Rohithn14

Describe the bug:

From the bottom panel, when i do diffrevision and give a particular revision number, it is not showing the diff. Instead on both sides of the diff view, there are revisions of latest file.

I've tried to do this diff in multiple ways, but none of them work.

  1. From the bottom p4 panel, I've gone to history for particular changelist revision and tried to do diff (doesn't work)
  2. from the scm, i've entered the changelist number and did the diff (doesn't work)

Expected behavior:

  1. The Perforce should've shown the diff with specific revision and latest revision. Instead it's showing latest revisions on both sides
    To Reproduce:

Versions & Details:

  • Perforce extension: mjcrouch.perforce (4.16.1)
  • VSCode version: November 2024 (version 1.96)
  • Operating System: Rocky Linux 8.10
  • Perforce server details (if known):
  • Are you using a multi-root workspace?: No

Additional context

Details
Please open view -> Output, select "Perforce Log" from the dropdown and paste it here, if possible / relevant

/home/namroh8t/dead_build/src/fe: /home/namroh8t/dead_build/src/.vscode/p4 'filelog' '-l' '-t' '/home/namroh8t/dead_build/src/fe/sif_cv_coverage.cxx'
/home/namroh8t/dead_build/src/fe: /home/namroh8t/dead_build/src/.vscode/p4 'print' '-q' '//depot/sim/sif_cov/main/src/fe/sif_cv_coverage.cxx#453'
/home/namroh8t/dead_build/src/fe: /home/namroh8t/dead_build/src/.vscode/p4 'print' '-q' '//depot/sim/sif_cov/main/src/fe/sif_cv_coverage.cxx#454'
/home/namroh8t/dead_build/src/fe: /home/namroh8t/dead_build/src/.vscode/p4 'opened' '//depot/sim/sif_cov/main/src/fe/sif_cv_coverage.cxx'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions