Page MenuHomePhabricator

Move commit message/metadata field query to a separate class
ClosedPublic

Authored by epriestley on Dec 19 2013, 9:42 PM.
Tags
None
Referenced Files
F15526465: D7805.id17670.diff
Mon, Apr 21, 9:07 PM
F15518250: D7805.id17670.diff
Sat, Apr 19, 12:22 PM
F15512938: D7805.id.diff
Thu, Apr 17, 3:02 PM
F15508203: D7805.diff
Wed, Apr 16, 3:11 AM
F15455269: D7805.diff
Mar 29 2025, 11:13 PM
F15376317: D7805.id.diff
Mar 13 2025, 2:49 AM
Unknown Object (File)
Feb 9 2025, 10:55 AM
Unknown Object (File)
Feb 9 2025, 10:55 AM
Subscribers

Details

Summary

Ref T4195. I need to query commit metadata to figure out which revision a commit is associated with. Move this out of the MessageParser so the code can be called from the HookEngine.

Test Plan

Used reparse.php to reparse a variety of SVN, Mercurial and Git commits. Used var_dump() to verify sensible fields were returned.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped