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
F18791478: D21220.id50538.diff
Thu, Oct 16, 1:54 PM
F18757381: D21220.diff
Sun, Oct 5, 5:13 PM
F18755537: D21220.id.diff
Sun, Oct 5, 6:05 AM
F18741886: D21220.id.diff
Thu, Oct 2, 4:28 PM
F18739123: D21220.diff
Wed, Oct 1, 7:52 PM
F18734289: D21220.id.diff
Tue, Sep 30, 10:51 PM
F18441944: D21220.id.diff
Aug 31 2025, 4:42 PM
F18420260: D21220.diff
Aug 30 2025, 4:05 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