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
F15507593: D21220.diff
Tue, Apr 15, 9:30 PM
F15490719: D21220.diff
Fri, Apr 11, 7:58 PM
F15437219: D21220.id.diff
Tue, Mar 25, 6:22 PM
F15432531: D21220.diff
Mon, Mar 24, 6:28 PM
F15432395: D21220.diff
Mar 24 2025, 5:56 PM
F15408608: D21220.id.diff
Mar 19 2025, 12:09 AM
F15335147: D21220.diff
Mar 8 2025, 2:35 PM
Unknown Object (File)
Feb 21 2025, 11:56 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