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
Unknown Object (File)
Thu, Apr 11, 7:55 AM
Unknown Object (File)
Mon, Apr 1, 1:27 PM
Unknown Object (File)
Mon, Apr 1, 1:27 PM
Unknown Object (File)
Mon, Apr 1, 12:59 PM
Unknown Object (File)
Mon, Apr 1, 12:33 PM
Unknown Object (File)
Thu, Mar 28, 2:27 PM
Unknown Object (File)
Feb 7 2024, 10:07 PM
Unknown Object (File)
Jan 27 2024, 8:23 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