Page MenuHomePhabricator

Be more lenient when accepting "Differential Revision" in the presence of custom ad-hoc commit message fields
ClosedPublic

Authored by epriestley on Jan 1 2017, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 10:36 AM
Unknown Object (File)
Tue, Apr 9, 12:26 PM
Unknown Object (File)
Sun, Apr 7, 5:37 AM
Unknown Object (File)
Sun, Apr 7, 4:33 AM
Unknown Object (File)
Thu, Mar 28, 12:19 AM
Unknown Object (File)
Mar 26 2024, 2:38 PM
Unknown Object (File)
Mar 26 2024, 2:38 PM
Unknown Object (File)
Mar 26 2024, 2:37 PM
Subscribers
None

Details

Summary

Fixes T8360. We will now parse revisions out of "Differential Revision: X" followed by other ad-hoc fields which we do not recognize. Previously, these fields would be treated as part of the value.

(In the general case, other fields may line wrap so we can't assume that fields are only one line long. However, we can make that assumption safely for this field.)

Also maybe fix whatever was going on in T9965 although that didn't really have a reproduction case.

Test Plan

Added unit tests.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable