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)
Tue, Nov 19, 8:59 AM
Unknown Object (File)
Tue, Nov 12, 5:55 AM
Unknown Object (File)
Tue, Nov 5, 8:27 PM
Unknown Object (File)
Tue, Nov 5, 12:46 AM
Unknown Object (File)
Sat, Oct 26, 4:20 AM
Unknown Object (File)
Oct 19 2024, 8:46 AM
Unknown Object (File)
Oct 19 2024, 6:23 AM
Unknown Object (File)
Oct 7 2024, 3:22 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