Page MenuHomePhabricator

Apply the new patch byte size limit to mail patch generation in Differential
ClosedPublic

Authored by epriestley on May 10 2018, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:16 AM
Unknown Object (File)
Fri, Apr 19, 7:44 PM
Unknown Object (File)
Sat, Apr 13, 4:10 AM
Unknown Object (File)
Mon, Apr 1, 3:09 AM
Unknown Object (File)
Sun, Mar 31, 10:51 PM
Unknown Object (File)
Sun, Mar 31, 4:43 PM
Unknown Object (File)
Mar 27 2024, 11:43 AM
Unknown Object (File)
Mar 27 2024, 11:43 AM
Subscribers
None

Details

Summary

Ref T13137. See PHI592. Depends on D19444. Apply a limit up front to stop patches which are way too big (e.g., 600MB of videos) from generating in the first place.

Test Plan
  • Configured inline patches in git format.
  • Created a normal revision, got an inline git patch.
  • Created a revision with a 10MB video file, got no inline patch.
  • (Added a bunch of debugging stuff to make sure the internal pathway was working.)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable