Page MenuHomePhabricator

When building a synthetic diff in Differential, adjust diff properties correctly
ClosedPublic

Authored by epriestley on Apr 25 2019, 10:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 11:52 PM
Unknown Object (File)
Sat, Apr 27, 3:43 AM
Unknown Object (File)
Fri, Apr 26, 4:21 PM
Unknown Object (File)
Thu, Apr 25, 2:24 AM
Unknown Object (File)
Tue, Apr 23, 4:12 AM
Unknown Object (File)
Apr 2 2024, 4:54 PM
Unknown Object (File)
Mar 31 2024, 9:51 AM
Unknown Object (File)
Mar 28 2024, 3:24 PM
Subscribers
None

Details

Reviewers
amckinley
Summary

See PHI1218. When rendering "A vs B", we currently show the properties of diff A without modification.

Instead, take properties from the same place we're taking change details.

See T12664 for a followup.

Test Plan
  • In diff A, removed "+x" from a file.
  • In diff B, changed the file but did not remove "+x" from it.
  • Diffed B vs A.
    • Before change: UI incorrectly shows "+x" removed (both sides incorrect, just showing the change from diff A).
    • After change: UI shows 100644 -> null, which is half right.

Diff Detail

Repository
rP Phabricator
Branch
flag1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22725
Build 31152: Run Core Tests
Build 31151: arc lint + arc unit