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
F19556255: D17121.id41184.diff
Fri, Jan 30, 7:21 PM
F19535757: D17121.id.diff
Jan 21 2026, 8:11 AM
F19528785: D17121.diff
Jan 19 2026, 11:48 AM
F19507678: D17121.id41184.diff
Jan 9 2026, 10:27 PM
F19507677: D17121.id.diff
Jan 9 2026, 10:27 PM
F19468324: D17121.id.diff
Jan 4 2026, 2:25 AM
F19467944: D17121.diff
Jan 3 2026, 8:21 PM
F19065497: D17121.id.diff
Nov 30 2025, 1:55 AM
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