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)
Wed, Jan 29, 8:28 AM
Unknown Object (File)
Mon, Jan 27, 4:19 PM
Unknown Object (File)
Sat, Jan 25, 5:36 AM
Unknown Object (File)
Sat, Jan 25, 1:29 AM
Unknown Object (File)
Sat, Jan 25, 1:29 AM
Unknown Object (File)
Sat, Jan 25, 1:29 AM
Unknown Object (File)
Sat, Jan 25, 1:29 AM
Unknown Object (File)
Mon, Jan 20, 1:45 PM
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