Page MenuHomePhabricator

Fix an intradiff error when the newer changeset does not exist
ClosedPublic

Authored by epriestley on May 4 2020, 10:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 5:53 PM
Unknown Object (File)
Mon, Dec 16, 5:18 PM
Unknown Object (File)
Dec 9 2024, 12:26 AM
Unknown Object (File)
Dec 6 2024, 5:11 AM
Unknown Object (File)
Nov 27 2024, 1:17 PM
Unknown Object (File)
Nov 27 2024, 7:26 AM
Unknown Object (File)
Nov 23 2024, 2:15 AM
Unknown Object (File)
Nov 22 2024, 9:43 PM
Subscribers
None

Details

Summary

Ref T13523. If a file hasn't been touched in the newer changeset, we can currently hit an error in the interdiff.

Test Plan
  • Touched "moo.txt" in Diff 1.
  • Reverted the changes to "moo.txt" in Diff 2.
  • Diffed 2 vs 1.
  • Before patch: fatal (call to getFilename() on null).
  • After patch: clean interdiff.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable